Skip to content

Commit

Permalink
Update TestDebugCommand_NoConnection to work when run in an environme…
Browse files Browse the repository at this point in the history
…nt with working Vault (#19942)
  • Loading branch information
kubawi committed Apr 3, 2023
1 parent 19b43e6 commit 8fb3860
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions command/debug_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,10 @@ func TestDebugCommand_NoConnection(t *testing.T) {
t.Fatal(err)
}

if err := client.SetAddress(""); err != nil {
t.Fatal(err)
}

_, cmd := testDebugCommand(t)
cmd.client = client
cmd.skipTimingChecks = true
Expand Down

0 comments on commit 8fb3860

Please sign in to comment.