Skip to content

Commit

Permalink
Ramp up timeout to wait for ConfigMap annotation
Browse files Browse the repository at this point in the history
to 1minute. We still have 3 more minutes before the
annotation is removed.
  • Loading branch information
MarcialRosales committed Oct 20, 2021
1 parent 349a250 commit 7abef6a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions system_tests/system_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ var _ = Describe("Operator", func() {
Expect(rmqClusterClient.Delete(context.TODO(), cluster)).To(Succeed())
})

It("keeps rabbitmq server related configurations up-to-date", func() {
FIt("keeps rabbitmq server related configurations up-to-date", func() {
By("updating enabled plugins and the secret ports when additionalPlugins are modified", func() {
// modify rabbitmqcluster.spec.rabbitmq.additionalPlugins
Expect(updateRabbitmqCluster(ctx, rmqClusterClient, cluster.Name, cluster.Namespace, func(cluster *rabbitmqv1beta1.RabbitmqCluster) {
Expand All @@ -164,7 +164,7 @@ var _ = Describe("Operator", func() {
Expect(err).ToNot(HaveOccurred())
return configMap.Annotations
}
Eventually(getConfigMapAnnotations, 30, 1).Should(
Eventually(getConfigMapAnnotations, 1*time.Minute, 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 Expand Up @@ -592,7 +592,7 @@ CONSOLE_LOG=new`

})

FWhen("stream plugin is enabled", func() {
When("stream plugin is enabled", func() {
var (
cluster *rabbitmqv1beta1.RabbitmqCluster
hostname string
Expand Down

0 comments on commit 7abef6a

Please sign in to comment.