mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 11:08:10 +00:00
cleanup unused code and fix t.Fatal usage in goroutine in testing (#11694)
This commit is contained in:
@@ -26,7 +26,7 @@ func retryKVCommand(t *testing.T, client *api.Client, args []string) (code int,
|
||||
|
||||
// Loop until return message does not indicate upgrade, or timeout.
|
||||
timeout := time.After(20 * time.Second)
|
||||
for true {
|
||||
for {
|
||||
ui, cmd := testKVPutCommand(t)
|
||||
cmd.client = client
|
||||
code = cmd.Run(args)
|
||||
|
||||
Reference in New Issue
Block a user