X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/afb710394b65fc82da8e4edd024a3a5fc1a18d54..644f5de63e2b8b02e054fcbb3e9af39560cffae3:/services/nodemanager/tests/integration_test.py diff --git a/services/nodemanager/tests/integration_test.py b/services/nodemanager/tests/integration_test.py index c4565fdbaf..d5b55540f8 100755 --- a/services/nodemanager/tests/integration_test.py +++ b/services/nodemanager/tests/integration_test.py @@ -40,7 +40,7 @@ detail.addHandler(logging.StreamHandler(detail_content)) fake_slurm = None compute_nodes = None all_jobs = None -unsatisfiable_job_scancelled = os.path.join(tempfile.mkdtemp(), "scancel_called") +unsatisfiable_job_scancelled = None def update_script(path, val): with open(path+"_", "w") as f: @@ -143,6 +143,9 @@ def expect_count(count, checks, pattern, g): def run_test(name, actions, checks, driver_class, jobs, provider): code = 0 + global unsatisfiable_job_scancelled + unsatisfiable_job_scancelled = os.path.join(tempfile.mkdtemp(), + "scancel_called") # Delete any stale node records api = arvados.api('v1') @@ -385,6 +388,7 @@ def main(): [ (r".*Daemon started", set_squeue), (r".*Rate limit exceeded - scheduling retry in 12 seconds", noop), + (r".*Rate limit exceeded - scheduling retry in 2 seconds", noop), (r".*Cloud node (\S+) is now paired with Arvados node (\S+) with hostname (\S+)", noop), ], {},