diff --git a/agent/consul/leader_test.go b/agent/consul/leader_test.go index d941e30d5..35a98d45b 100644 --- a/agent/consul/leader_test.go +++ b/agent/consul/leader_test.go @@ -465,6 +465,7 @@ func TestLeader_LeftServer(t *testing.T) { for _, s := range servers[1:] { retry.Run(t, func(r *retry.R) { r.Check(wantPeers(s, 2)) }) } + s1.Shutdown() } func TestLeader_LeftLeader(t *testing.T) {