Update TestDebugCommand_NoConnection to work when run in an environment with working Vault (#19942)

This commit is contained in:
Kuba Wieczorek
2023-04-03 17:32:23 +01:00
committed by GitHub
parent 19b43e6130
commit 8fb3860e7d

View File

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