Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Remove retry script #15960

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 10 additions & 10 deletions scripts/get-job-matrix.py
Expand Up @@ -99,19 +99,19 @@ class MakefileTest(TypedDict):
eta: int

MAKEFILE_INTEGRATION_TESTS: List[MakefileTest] = [
{"name": "sdk/nodejs test_auto", "run": "cd sdk/nodejs && ../../scripts/retry make test_auto", "eta": 3},
{"name": "sdk/nodejs unit_tests", "run": "cd sdk/nodejs && ../../scripts/retry make unit_tests", "eta": 4},
{"name": "sdk/nodejs test_integration", "run": "cd sdk/nodejs && ../../scripts/retry make test_integration", "eta": 3},
{"name": "sdk/python test_auto", "run": "cd sdk/python && ../../scripts/retry make test_auto", "eta": 6},
{"name": "sdk/python test_fast", "run": "cd sdk/python && ../../scripts/retry make test_fast", "eta": 3},
{"name": "sdk/nodejs test_auto", "run": "cd sdk/nodejs && make test_auto", "eta": 3},
{"name": "sdk/nodejs unit_tests", "run": "cd sdk/nodejs && make unit_tests", "eta": 4},
{"name": "sdk/nodejs test_integration", "run": "cd sdk/nodejs && make test_integration", "eta": 3},
{"name": "sdk/python test_auto", "run": "cd sdk/python && make test_auto", "eta": 6},
{"name": "sdk/python test_fast", "run": "cd sdk/python && make test_fast", "eta": 3},
]

MAKEFILE_ACCEPTANCE_TESTS: List[MakefileTest] = [
{"name": "sdk/nodejs test_integration", "run": "cd sdk/nodejs && ../../scripts/retry make test_integration", "eta": 3},
{"name": "sdk/nodejs test_integration", "run": "cd sdk/nodejs && make test_integration", "eta": 3},
]

MAKEFILE_UNIT_TESTS: List[MakefileTest] = [
{"name": "sdk/nodejs sxs_tests", "run": "cd sdk/nodejs && ../../scripts/retry make sxs_tests", "eta": 3},
{"name": "sdk/nodejs sxs_tests", "run": "cd sdk/nodejs && make sxs_tests", "eta": 3},
]

ALL_PLATFORMS = ["ubuntu-latest", "windows-latest", "macos-latest"]
Expand Down Expand Up @@ -241,7 +241,7 @@ def run_gotestsum_ci_matrix_packages(go_packages: List[str], partition_module: P
pkgs = " ".join(go_packages)
return [{
"name": f"{partition_module.module_dir}",
"command": f'GO_TEST_TAGS="{" ".join(tags)}" PKGS="{pkgs}" ./scripts/retry make gotestsum/{partition_module.module_dir}'
"command": f'GO_TEST_TAGS="{" ".join(tags)}" PKGS="{pkgs}" make gotestsum/{partition_module.module_dir}'
}]

gotestsum_matrix_args = [
Expand Down Expand Up @@ -279,7 +279,7 @@ def run_gotestsum_ci_matrix_packages(go_packages: List[str], partition_module: P
for idx, include in enumerate(matrix_jobs):
idx_str = f"{idx+1}".zfill(buckets_len)

test_command = f'GO_TEST_TAGS="{" ".join(tags)}" PKGS="{include["packages"]}" ./scripts/retry make gotestsum/{partition_module.module_dir}'
test_command = f'GO_TEST_TAGS="{" ".join(tags)}" PKGS="{include["packages"]}" make gotestsum/{partition_module.module_dir}'
if global_verbosity >= 1:
print(test_command, file=sys.stderr)
test_suites.append(
Expand Down Expand Up @@ -351,7 +351,7 @@ def run_gotestsum_ci_matrix_single_package(

env=f'PKGS="{include["packages"]}" OPTS="{test_list}"'
env=f'GO_TEST_TAGS="{" ".join(tags)}" PKGS="{include["packages"]}" OPTS="{test_list}"'
test_command = f'{env} ./scripts/retry make gotestsum/{partition_pkg.package_dir}'
test_command = f'{env} make gotestsum/{partition_pkg.package_dir}'
if global_verbosity >= 1:
print(test_command, file=sys.stderr)

Expand Down
48 changes: 0 additions & 48 deletions scripts/retry

This file was deleted.