Fix the NonVoter Bootstrap test (#4786)

This commit is contained in:
Matt Keeler 2018-10-24 10:23:50 -04:00 committed by GitHub
parent ca9a54bea5
commit 0dd537e506
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -622,10 +622,10 @@ func TestServer_Expect_NonVoters(t *testing.T) {
// Now we have three servers so we should bootstrap. // Now we have three servers so we should bootstrap.
retry.Run(t, func(r *retry.R) { retry.Run(t, func(r *retry.R) {
r.Check(wantPeers(s1, 4)) r.Check(wantPeers(s1, 2))
r.Check(wantPeers(s2, 4)) r.Check(wantPeers(s2, 2))
r.Check(wantPeers(s3, 4)) r.Check(wantPeers(s3, 2))
r.Check(wantPeers(s4, 4)) r.Check(wantPeers(s4, 2))
}) })
// Make sure a leader is elected // Make sure a leader is elected