From f808e3815aee24643a87a3ca896d166cc5189b78 Mon Sep 17 00:00:00 2001 From: David Dworken Date: Fri, 1 Sep 2023 16:30:42 -0700 Subject: [PATCH] Increase num retries for github actions --- client/client_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/client_test.go b/client/client_test.go index 65efac6..6d7918a 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -174,6 +174,9 @@ func TestParam(t *testing.T) { func runTestsWithRetries(parentT *testing.T, testName string, testFunc func(t testing.TB)) { numRetries := 3 + if testutils.IsGithubAction() { + numRetries = 5 + } for i := 1; i <= numRetries; i++ { rt := &retryingTester{nil, i == numRetries, true} parentT.Run(fmt.Sprintf("%s/%d", testName, i), func(t *testing.T) {