From b3323668c4df2254fe8cdd707b0056404a1cba82 Mon Sep 17 00:00:00 2001 From: knj Date: Mon, 29 Jan 2024 17:33:36 +0100 Subject: [PATCH] pass timeout value as a string --- ci/run_scheduled_sanitizer_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/run_scheduled_sanitizer_test.py b/ci/run_scheduled_sanitizer_test.py index 33148897ca..b3fc88acc4 100755 --- a/ci/run_scheduled_sanitizer_test.py +++ b/ci/run_scheduled_sanitizer_test.py @@ -55,6 +55,7 @@ N_FRAMES_DLY_PROFILE = 7500 GENPATT_CMD = f"gen-patt -tailstat -fer -g192 -gamma 0 -rate 0.15 -tol 0.001 -reset -n {N_FRAMES_DLY_PROFILE} {EP_FILE}" MC_MODES = ["5_1", "5_1_2", "5_1_4", "7_1", "7_1_4"] AMBISONICS_MODES = ["HOA3", "HOA2", "FOA", "PlanarHOA3", "PlanarHOA2", "PlanarFOA"] +TIMEOUT = 60 * 15 # timeout of 15 minutes per en/decoding to safeguard against endless loops CONSOLE_OUT_FILE = "output_san.txt" @@ -148,9 +149,8 @@ def run_check(in_format: str, out_formats: list, tests: list, run_fec: bool = Tr *md_file_command, "--usan_supp_file", USAN_SUPP_FILE, - # timeout of 15 minutes per en/decoding to safeguard against endless loops "--timeout", - 60 * 15, + str(TIMEOUT), ] print( -- GitLab