Skip to content

Commit 07d03fe

Browse files
Use k8sQueryTimeout rather than hardcoding it
1 parent 73fac8e commit 07d03fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system_tests/system_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ var _ = Describe("Operator", func() {
165165
Expect(err).ToNot(HaveOccurred())
166166
return configMap.Annotations
167167
}
168-
Eventually(getConfigMapAnnotations, 1*time.Minute, 1).Should(
168+
Eventually(getConfigMapAnnotations, k8sQueryTimeout, 1).Should(
169169
HaveKey("rabbitmq.com/pluginsUpdatedAt"), "plugins ConfigMap should have been annotated")
170170
Eventually(getConfigMapAnnotations, 4*time.Minute, 1).Should(
171171
Not(HaveKey("rabbitmq.com/pluginsUpdatedAt")), "plugins ConfigMap annotation should have been removed")

0 commit comments

Comments
 (0)