diff --git a/command/catalog/list/nodes/catalog_list_nodes_test.go b/command/catalog/list/nodes/catalog_list_nodes_test.go index bbb280d2fc..3709182270 100644 --- a/command/catalog/list/nodes/catalog_list_nodes_test.go +++ b/command/catalog/list/nodes/catalog_list_nodes_test.go @@ -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)