fix flaky TestCatalogListNodesCommand_verticalBar test (#7422)

This commit is contained in:
R.B. Boyer 2020-03-10 11:01:13 -05:00 committed by GitHub
parent e62e862df9
commit dfe5ba134b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

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