Fix the NonVoter Bootstrap test (#4786)
This commit is contained in:
parent
ca9a54bea5
commit
0dd537e506
|
@ -622,10 +622,10 @@ func TestServer_Expect_NonVoters(t *testing.T) {
|
|||
|
||||
// Now we have three servers so we should bootstrap.
|
||||
retry.Run(t, func(r *retry.R) {
|
||||
r.Check(wantPeers(s1, 4))
|
||||
r.Check(wantPeers(s2, 4))
|
||||
r.Check(wantPeers(s3, 4))
|
||||
r.Check(wantPeers(s4, 4))
|
||||
r.Check(wantPeers(s1, 2))
|
||||
r.Check(wantPeers(s2, 2))
|
||||
r.Check(wantPeers(s3, 2))
|
||||
r.Check(wantPeers(s4, 2))
|
||||
})
|
||||
|
||||
// Make sure a leader is elected
|
||||
|
|
Loading…
Reference in New Issue