Skip to content

Commit

Permalink
Merge pull request #825 from unihorn/98
Browse files Browse the repository at this point in the history
fix(multi_node_kill_all_and_recovery_test): ensure cluster is up
  • Loading branch information
yichengq committed Jun 2, 2014
2 parents 707174b + 25e69d9 commit 3d2523e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/functional/multi_node_kill_all_and_recovery_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,12 @@ func TestMultiNodeKillAllAndRecoveryAndRemoveLeader(t *testing.T) {
<-leaderChan
stop <- true

// It needs some time to sync current commits and write it to disk.
// Or some instance may be restarted as a new peer, and we don't support
// to connect back the old cluster that doesn't have majority alive
// without log now.
time.Sleep(time.Second)

c.SyncCluster()

// kill all
Expand Down

0 comments on commit 3d2523e

Please sign in to comment.