Increase num retries for github actions

This commit is contained in:
David Dworken 2023-09-01 16:30:42 -07:00
parent ab694c38b1
commit f808e3815a
No known key found for this signature in database

View File

@ -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) {