Skip to content

Commit

Permalink
Use k8sQueryTimeout rather than hardcoding it
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcialRosales committed Oct 21, 2021
1 parent 73fac8e commit 07d03fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system_tests/system_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ var _ = Describe("Operator", func() {
Expect(err).ToNot(HaveOccurred())
return configMap.Annotations
}
Eventually(getConfigMapAnnotations, 1*time.Minute, 1).Should(
Eventually(getConfigMapAnnotations, k8sQueryTimeout, 1).Should(
HaveKey("rabbitmq.com/pluginsUpdatedAt"), "plugins ConfigMap should have been annotated")
Eventually(getConfigMapAnnotations, 4*time.Minute, 1).Should(
Not(HaveKey("rabbitmq.com/pluginsUpdatedAt")), "plugins ConfigMap annotation should have been removed")
Expand Down

0 comments on commit 07d03fe

Please sign in to comment.