Skip to content

Commit

Permalink
[release only] Pin disabled-test-condensed and slow-tests json (#114514)
Browse files Browse the repository at this point in the history
* [release only] Pin disabled-test-condensed json

* pin slow tests json
  • Loading branch information
atalman committed Nov 27, 2023
1 parent b3b22d7 commit 614af50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/stats/import_test_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def is_cached_file_valid() -> bool:
def get_slow_tests(
dirpath: str, filename: str = SLOW_TESTS_FILE
) -> Optional[Dict[str, float]]:
url = "https://ossci-metrics.s3.amazonaws.com/slow-tests.json"
url = "https://ossci-metrics.s3.amazonaws.com/slow-tests.json?versionId=iWAOsEqlVH1mfs7w5A3KlyTalvubE4Ru"
try:
return fetch_and_cache(dirpath, filename, url, lambda x: x)
except Exception:
Expand Down Expand Up @@ -98,7 +98,7 @@ def process_disabled_test(the_response: Dict[str, Any]) -> Dict[str, Any]:
return disabled_test_from_issues

try:
url = "https://ossci-metrics.s3.amazonaws.com/disabled-tests-condensed.json"
url = "https://ossci-metrics.s3.amazonaws.com/disabled-tests-condensed.json?versionId=JMUOdxgUAeI4yXhzc.dJlCuxVrsfkZTj"
return fetch_and_cache(dirpath, filename, url, process_disabled_test)
except Exception:
print("Couldn't download test skip set, leaving all tests enabled...")
Expand Down

0 comments on commit 614af50

Please sign in to comment.