mirror of https://github.com/hashicorp/consul
add serf check to TestLockCommand
parent
a5bd6d7c00
commit
31af6be26a
|
@ -45,7 +45,7 @@ func TestLockCommand(t *testing.T) {
|
|||
a := agent.NewTestAgent(t, t.Name(), ``)
|
||||
defer a.Shutdown()
|
||||
|
||||
testrpc.WaitForLeader(t, a.RPC, "dc1")
|
||||
testrpc.WaitForTestAgent(t, a.RPC, "dc1")
|
||||
|
||||
ui := cli.NewMockUi()
|
||||
c := New(ui)
|
||||
|
|
Loading…
Reference in New Issue