Browse Source

fix(multi_node_kill_all_and_recovery_test): ensure cluster running

Yicheng Qin 11 years ago
parent
commit
356675b70f
1 changed files with 2 additions and 0 deletions
  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)