From 790cf90ee5cb7fe291e7b1aae0ea7175ef3bb856 Mon Sep 17 00:00:00 2001 From: Matt Keeler Date: Wed, 24 Oct 2018 10:23:50 -0400 Subject: [PATCH] Fix the NonVoter Bootstrap test (#4786) --- agent/consul/server_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/agent/consul/server_test.go b/agent/consul/server_test.go index 31dbf32ac0..d999b3d6e1 100644 --- a/agent/consul/server_test.go +++ b/agent/consul/server_test.go @@ -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