Double-delay on test to allow leader re-election.
License: MIT Signed-off-by: Hector Sanjuan <hector@protocol.ai>
This commit is contained in:
parent
37046dc925
commit
857e38175e
|
@ -818,6 +818,7 @@ func TestClustersReplicationNotEnoughPeers(t *testing.T) {
|
|||
|
||||
// Time for consensus to catch up again in case we hit the leader.
|
||||
delay()
|
||||
delay()
|
||||
|
||||
err = clusters[j].Pin(h)
|
||||
if err == nil {
|
||||
|
|
Loading…
Reference in New Issue
Block a user