From 94b812c4d130296c268b1de7e5f17057dcf29919 Mon Sep 17 00:00:00 2001 From: ncabatoff Date: Fri, 9 Feb 2024 09:28:48 -0500 Subject: [PATCH] Fix regression --- sdk/helper/testcluster/util.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/helper/testcluster/util.go b/sdk/helper/testcluster/util.go index 9bf481da59e1..1f261057fa7f 100644 --- a/sdk/helper/testcluster/util.go +++ b/sdk/helper/testcluster/util.go @@ -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