Skip to content

Commit a51d508

Browse files
committed
Apply review
1 parent 01f64a3 commit a51d508

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/cmdline/commands/test_process.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,12 +227,13 @@ def make_a_builder(sleep_seconds=0):
227227

228228
@pytest.mark.requires_rmq
229229
@pytest.mark.usefixtures('started_daemon_client')
230-
def test_process_kill_failing_ebm_upload(
230+
def test_process_kill_failing_ebm_transport(
231231
fork_worker_context, submit_and_await, aiida_code_installed, run_cli_command, monkeypatch
232232
):
233-
"""Kill a process that is waiting after failed EBM during upload. It should be possible to kill it normally.
233+
"""Kill a process that is waiting after failed EBM during a transport task.
234234
235-
A process that failed upload (e.g. in scenarios that transport is working again) and is then killed with
235+
It should be possible to kill it normally. A process that failed upload (e.g. in scenarios that transport is working
236+
again) and is then killed
236237
"""
237238
from aiida.orm import Int
238239

@@ -303,6 +304,7 @@ def make_a_builder(sleep_seconds=0):
303304
await_condition(lambda: not node.is_killed, timeout=kill_timeout)
304305

305306
# kill should restart EBM and be not successful in EBM
307+
# this tests if the old task is cancelled and restarted successfully
306308
run_cli_command(cmd_process.process_kill, [str(node.pk), '--wait'])
307309
await_condition(lambda: not node.is_killed, timeout=kill_timeout)
308310

0 commit comments

Comments
 (0)