Skip to content

Commit 32a9209

Browse files
authored
Merge pull request #121 from tpantelis/fix_flaky_e2e_test
Relax criteria for the "Local service not impacted" E2E test
2 parents da2c058 + a0e99d2 commit 32a9209

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

e2e/localserviceimpact_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import (
2121
"fmt"
2222
"math/rand"
2323
"strings"
24+
"time"
2425

2526
. "github.com/onsi/ginkgo/v2"
2627
. "github.com/onsi/gomega"
@@ -164,7 +165,7 @@ var _ = Describe("Local service not impacted", func() {
164165
clusterID := strings.TrimSpace(string(stdout))
165166
g.Expect(clusterID).To(BeElementOf(clusterIDs))
166167
clusters[clusterID]++
167-
}, "10s").MustPassRepeatedly(50).Should(Succeed())
168+
}).MustPassRepeatedly(20).Within(time.Second * 10).Should(Succeed())
168169
Expect(clusters).To(HaveEach(Not(BeZero())))
169170
}
170171

0 commit comments

Comments
 (0)