Skip to content

Commit b5e5477

Browse files
authored
Increase retry. (#1402)
1 parent 00eeac8 commit b5e5477

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/gha/integration_testing/ftl_gha_validator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def _get_testapp_log_text_from_gcs(gcs_path):
7474
logging.error("Unexpected error reading GCS log:\n%s", e)
7575
return None
7676

77-
@retry(subprocess.CalledProcessError, tries=3, delay=10)
77+
@retry(subprocess.CalledProcessError, tries=10, delay=5, backoff=1.5)
7878
def _gcs_list_dir(gcs_path):
7979
"""Recursively returns a list of contents for a directory on GCS."""
8080
args = [GSUTIL, "ls", "-r", gcs_path]
@@ -83,7 +83,7 @@ def _gcs_list_dir(gcs_path):
8383
return result.stdout.splitlines()
8484

8585

86-
@retry(subprocess.CalledProcessError, tries=3, delay=10)
86+
@retry(subprocess.CalledProcessError, tries=10, delay=5, backoff=1.5)
8787
def _gcs_read_file(gcs_path):
8888
"""Extracts the contents of a file on GCS."""
8989
args = [GSUTIL, "cat", gcs_path]

0 commit comments

Comments
 (0)