File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1427,7 +1427,8 @@ def load_test_times_from_file(
1427
1427
1428
1428
with open (path ) as f :
1429
1429
test_times_file = cast (Dict [str , Any ], json .load (f ))
1430
- build_environment = os .environ .get ("BUILD_ENVIRONMENT" )
1430
+ # build_environment hard coded to value from upstream when branch is created
1431
+ build_environment = "linux-focal-rocm6.0-py3.8"
1431
1432
test_config = os .environ .get ("TEST_CONFIG" )
1432
1433
if test_config in test_times_file .get (build_environment , {}):
1433
1434
print_to_stderr ("Found test times from artifacts" )
Original file line number Diff line number Diff line change @@ -29,7 +29,8 @@ def get_disabled_issues() -> List[str]:
29
29
TD_HEURISTIC_HISTORICAL_EDITED_FILES = "td_heuristic_historical_edited_files.json"
30
30
TD_HEURISTIC_PREVIOUSLY_FAILED = "previous_failures.json"
31
31
32
- FILE_CACHE_LIFESPAN_SECONDS = datetime .timedelta (hours = 3 ).seconds
32
+ #increse the cache time to 6 months
33
+ FILE_CACHE_LIFESPAN_SECONDS = 6 * 30 * 24 * 3600
33
34
34
35
35
36
def fetch_and_cache (
You can’t perform that action at this time.
0 commit comments