Explorar el Código

fix(multi_node_kill_all_and_recovery_test): ensure cluster running

Yicheng Qin hace 11 años
padre
commit
356675b70f
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      tests/functional/multi_node_kill_all_and_recovery_test.go

+ 2 - 0
tests/functional/multi_node_kill_all_and_recovery_test.go

@@ -101,6 +101,8 @@ func TestTLSMultiNodeKillAllAndRecovery(t *testing.T) {
 		t.Fatal("cannot create cluster")
 	}
 
+	time.Sleep(time.Second)
+
 	c := etcd.NewClient(nil)
 
 	go Monitor(clusterSize, clusterSize, leaderChan, all, stop)