mirror of https://github.com/status-im/consul.git
fix flaky TestCatalogListNodesCommand_verticalBar test (#7422)
This commit is contained in:
parent
e62e862df9
commit
dfe5ba134b
|
@ -171,6 +171,8 @@ func TestCatalogListNodesCommand_verticalBar(t *testing.T) {
|
|||
a := agent.NewTestAgent(t, "", `node_name = "`+nodeName+`"`)
|
||||
defer a.Shutdown()
|
||||
|
||||
testrpc.WaitForTestAgent(t, a.RPC, "dc1")
|
||||
|
||||
ui := cli.NewMockUi()
|
||||
c := New(ui)
|
||||
c.flags.SetOutput(ui.ErrorWriter)
|
||||
|
|
Loading…
Reference in New Issue