add serf check to TestLockCommand

pull/5376/head
Alvin Huang 2019-02-21 17:39:54 -05:00
parent a5bd6d7c00
commit 31af6be26a
1 changed files with 1 additions and 1 deletions

View File

@ -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)