integration test: add pause between starting container and checking cluster

This commit is contained in:
Maxim Merzhanov authored and Maxim committed 2019-11-28 18:41:41 +03:00
1 parent 882228558d
commit 29e7c119bd
1 file changed
+1
+1
View File
@@ -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 {