Skip to content

Commit

Permalink
debug test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
absolutelightning committed Sep 15, 2023
1 parent 4218859 commit c24d978
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions command/debug/debug_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,10 @@ func TestDebugCommand_WithSinceFlag(t *testing.T) {
t.Skip("too slow for testing.Short")
}

a := agent.NewTestAgent(t, `
enable_debug = true
`)
server, err := testutil.NewTestServerConfigT(t, nil)
require.NoError(t, err)

defer a.Shutdown()
testrpc.WaitForLeader(t, a.RPC, "dc1")
server.WaitForLeader(t)

ui := cli.NewMockUi()
cmd := New(ui)
Expand Down

0 comments on commit c24d978

Please sign in to comment.