Skip to content

Commit

Permalink
Fix regression
Browse files Browse the repository at this point in the history
  • Loading branch information
ncabatoff committed Feb 9, 2024
1 parent 5d08051 commit 94b812c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/helper/testcluster/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -302,12 +302,12 @@ func WaitForActiveNodeAndPerfStandbys(ctx context.Context, cluster VaultCluster)
Local: true,
})
if err == nil {
return fmt.Errorf("unable to mount kv engine: %w", err)
break
}
time.Sleep(1 * time.Second)
}
if err != nil {
return fmt.Errorf("unable to mount KV engine: %v", err)
return fmt.Errorf("unable to mount KV engine: %w", err)
}
path := mountPoint + "/waitforactivenodeandperfstandbys"
var standbys, actives int64
Expand Down

0 comments on commit 94b812c

Please sign in to comment.