fix flaky TestCatalogListNodesCommand_verticalBar test (#7422)
This commit is contained in:
parent
eb44ea335c
commit
e142934a9c
|
@ -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