mirror of https://github.com/hashicorp/consul
Remove extra newline
parent
907b97b7f2
commit
80791d5b21
|
@ -767,8 +767,7 @@ func TestServer_RevokeLeadershipIdempotent(t *testing.T) {
|
||||||
dir1, s1 := testServer(t)
|
dir1, s1 := testServer(t)
|
||||||
defer os.RemoveAll(dir1)
|
defer os.RemoveAll(dir1)
|
||||||
defer s1.Shutdown()
|
defer s1.Shutdown()
|
||||||
|
|
||||||
|
|
||||||
testrpc.WaitForLeader(t, s1.RPC, "dc1")
|
testrpc.WaitForLeader(t, s1.RPC, "dc1")
|
||||||
|
|
||||||
err:= s1.revokeLeadership()
|
err:= s1.revokeLeadership()
|
||||||
|
|
Loading…
Reference in New Issue