integration test: add pause between starting container and checking cluster
This commit is contained in:
1 parent
882228558d
commit
29e7c119bd
1 file changed
+1
@@ -159,6 +159,7 @@ func TestClusterElection(t *testing.T) {
|
||||
log.Printf("starting %d container\n", i)
|
||||
a.NoError(configsCtxs[i].StartContainer())
|
||||
|
||||
time.Sleep(3 * time.Second)
|
||||
log.Printf("checking cluster, iteration %d\n", i+1)
|
||||
ready = testClusterReady(a, -1)
|
||||
if !ready {
|
||||
|
||||
Reference in new issue
Block a user