From 84a130f1e2f7912dbdc0da79ed73a4cc42e013c2 Mon Sep 17 00:00:00 2001 From: Matt Lord Date: Tue, 11 Apr 2023 22:01:53 -0400 Subject: [PATCH] Enable retry for all errors in vtctlclient helper. Signed-off-by: Matt Lord --- go/test/endtoend/cluster/vtctlclient_process.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/test/endtoend/cluster/vtctlclient_process.go b/go/test/endtoend/cluster/vtctlclient_process.go index 3c4941da2c2..4df888a80ab 100644 --- a/go/test/endtoend/cluster/vtctlclient_process.go +++ b/go/test/endtoend/cluster/vtctlclient_process.go @@ -210,7 +210,7 @@ func (vtctlclient *VtctlClientProcess) ExecuteCommandWithOutput(args ...string) log.Infof("Executing vtctlclient with command: %v (attempt %d of %d)", strings.Join(tmpProcess.Args, " "), i, retries) resultByte, err = tmpProcess.CombinedOutput() resultStr = string(resultByte) - if err == nil || !shouldRetry(resultStr) { + if err == nil { break } time.Sleep(retryDelay)