File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -349,9 +349,9 @@ func newTwoClusterTestDriver(t *testDriver) *twoClusterTestDriver {
349
349
})
350
350
351
351
JustBeforeEach (func () {
352
- // Sleep a little before deploying on the second cluster to ensure the first cluster's ServiceExport timestamp
353
- // is older so conflict checking is deterministic.
354
- time .Sleep (100 * time .Millisecond )
352
+ // Delay a little before deploying on the second cluster to ensure the first cluster's ServiceExport timestamp
353
+ // is older so conflict checking is deterministic. Make the delay at least 1 sec as creation timestamps have seconds granularity.
354
+ time .Sleep (1100 * time .Millisecond )
355
355
356
356
t .deployHelloService (& clients [1 ], tt .helloService2 )
357
357
t .createServiceExport (& clients [1 ], tt .helloServiceExport2 )
You can’t perform that action at this time.
0 commit comments