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 999cb0a49f
commit 790cf90ee5
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.
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