Commit a0e99d2
committed
Relax criteria for the "Local service not impacted" E2E test
This test has been failing intermittently for a while:
STEP: verifying a local, unexported service is reachable via cluster.local
[FAILED] Timed out after 10.092s.
There is no failure as the matcher passed to Eventually succeeded on its
most recent iteration
In [It] at: .../mcs-api/e2e/localserviceimpact_test.go:167
So the Eventually in checkAllClustersReachable:
Eventually(func(g Gomega) {
...
}, "10s").MustPassRepeatedly(50).Should(Succeed())
does succeed but sometimes does not do so 50 times within 10s. So we
need to relax these criteria, either increase the timeout or decrease
the number of times. I opted for the latter, ie 20 times.
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>1 parent 0d87c31 commit a0e99d2
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
164 | 165 | | |
165 | 166 | | |
166 | 167 | | |
167 | | - | |
| 168 | + | |
168 | 169 | | |
169 | 170 | | |
170 | 171 | | |
| |||
0 commit comments