From db23b6938e7f3c9104c8ecec620fcefd572ca354 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20Berland?= Date: Thu, 3 Oct 2024 06:54:48 +0200 Subject: [PATCH] Return with SIGTERM in mocked kill --- tests/ert/unit_tests/scheduler/test_lsf_driver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ert/unit_tests/scheduler/test_lsf_driver.py b/tests/ert/unit_tests/scheduler/test_lsf_driver.py index 30e6187a56f..51167bcbce3 100644 --- a/tests/ert/unit_tests/scheduler/test_lsf_driver.py +++ b/tests/ert/unit_tests/scheduler/test_lsf_driver.py @@ -1293,7 +1293,7 @@ async def test_that_kill_before_submit_is_finished_works(tmp_path, monkeypatch, {{ echo "killed" > {tmp_path}/was_killed do_stop=1 - exit -1 + exit 15 }} trap handle SIGTERM while [[ $do_stop == 0 ]]