Skip to content

Commit a519a18

Browse files
authored
Merge pull request #117 from tpantelis/inc_two_cluster_sleep
Increase artificial delay for 2 cluster conformance tests
2 parents a807ec6 + d8fd6e7 commit a519a18

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

conformance/conformance_suite.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -349,9 +349,9 @@ func newTwoClusterTestDriver(t *testDriver) *twoClusterTestDriver {
349349
})
350350

351351
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)
355355

356356
t.deployHelloService(&clients[1], tt.helloService2)
357357
t.createServiceExport(&clients[1], tt.helloServiceExport2)

0 commit comments

Comments
 (0)