Skip to content

Commit e94a10c

Browse files
committed
small edit of tests
1 parent 0d50498 commit e94a10c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

pydra/engine/tests/test_submitter.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -334,11 +334,10 @@ def test_slurm_cancel_rerun_1(tmpdir):
334334

335335
@pytest.mark.skipif(not slurm_available, reason="slurm not installed")
336336
def test_slurm_cancel_rerun_2(tmpdir):
337-
""" testing that tasks run with slurm is re-queue
338-
Running wf with 2 tasks, one sleeps and the other trying to get
337+
""" testing that tasks run with slurm that has --no-requeue
338+
Running wf with 2 tasks, one sleeps and the other gets
339339
job_id of the first task and cancel it.
340-
The first job should be re-queue and finish without problem.
341-
(possibly has to be improved, in theory cancel job might finish before cancel)
340+
The first job is not able t be rescheduled and the error is returned.
342341
"""
343342
wf = Workflow(name="wf", input_spec=["x", "job_name"], cache_dir=tmpdir)
344343
wf.add(sleep(name="sleep", x=wf.lzin.x))

0 commit comments

Comments
 (0)