Skip to content

Commit

Permalink
Increate configuration updates timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
ChunyiLyu committed Jul 20, 2021
1 parent 0bd27b7 commit 0fe4d09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion system_tests/system_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import (
"os"
"strconv"
"strings"
"time"

k8sresource "k8s.io/apimachinery/pkg/api/resource"
"k8s.io/apimachinery/pkg/types"
Expand Down Expand Up @@ -165,7 +166,7 @@ var _ = Describe("Operator", func() {
}
Eventually(getConfigMapAnnotations, 30, 1).Should(
HaveKey("rabbitmq.com/pluginsUpdatedAt"), "plugins ConfigMap should have been annotated")
Eventually(getConfigMapAnnotations, 120, 1).Should(
Eventually(getConfigMapAnnotations, 4 * time.Minute, 1).Should(
Not(HaveKey("rabbitmq.com/pluginsUpdatedAt")), "plugins ConfigMap annotation should have been removed")

Eventually(func() map[string][]byte {
Expand Down

0 comments on commit 0fe4d09

Please sign in to comment.