Double-delay on test to allow leader re-election.

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
This commit is contained in:
Hector Sanjuan 2017-02-15 15:34:40 +01:00 committed by Hector Sanjuan
parent 37046dc925
commit 857e38175e

View File

@ -818,6 +818,7 @@ func TestClustersReplicationNotEnoughPeers(t *testing.T) {
// Time for consensus to catch up again in case we hit the leader. // Time for consensus to catch up again in case we hit the leader.
delay() delay()
delay()
err = clusters[j].Pin(h) err = clusters[j].Pin(h)
if err == nil { if err == nil {