Skip to content

Commit

Permalink
Return with SIGTERM in mocked kill
Browse files Browse the repository at this point in the history
  • Loading branch information
berland committed Oct 3, 2024
1 parent 8ff7299 commit f7cadbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ert/unit_tests/scheduler/test_lsf_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]]
Expand Down

0 comments on commit f7cadbb

Please sign in to comment.