From 521841b4470be36e03969aa6a796d1527e50acf8 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 19 Dec 2024 16:25:54 -0800 Subject: [PATCH] fix: Skip redoing tests if results exist --- benchmark/benchmark.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/benchmark/benchmark.py b/benchmark/benchmark.py index a0a471b4a..f511ba290 100755 --- a/benchmark/benchmark.py +++ b/benchmark/benchmark.py @@ -644,10 +644,10 @@ def run_test_real( if results_fname.exists(): try: res = json.loads(results_fname.read_text()) - if res.get("test_timeouts", 0) > 0: - print(f"{results_fname} test timeouts, redoing...") - else: - return res + #if res.get("test_timeouts", 0) > 0: + # print(f"{results_fname} test timeouts, redoing...") + #else: + return res except JSONDecodeError: print(f"{results_fname} failed to parse, redoing...")