toil.test.src.resumabilityTest¶
Classes¶
Functions¶
|
Set up a bunch of dummy child jobs, and a bad job that needs to be |
|
Set up a failing job to chain to. |
|
Does nothing. |
|
Fails the first time it's run, succeeds the second time. |
Module Contents¶
- class toil.test.src.resumabilityTest.TestResumability¶
https://github.com/BD2KGenomics/toil/issues/808
- test(tmp_path)¶
Tests that a toil workflow that fails once can be resumed without a NoSuchJobException.
- Parameters:
tmp_path (pathlib.Path)
- Return type:
None
- test_chaining(tmp_path)¶
Tests that a job which is chained to and fails can resume and succeed.
- Parameters:
tmp_path (pathlib.Path)
- Return type:
None
- toil.test.src.resumabilityTest.parent(job)¶
Set up a bunch of dummy child jobs, and a bad job that needs to be restarted as the follow on.
- Parameters:
job (toil.job.Job)
- Return type:
None
- toil.test.src.resumabilityTest.chaining_parent(job)¶
Set up a failing job to chain to.
- Parameters:
job (toil.job.Job)
- Return type:
None
- toil.test.src.resumabilityTest.goodChild(job)¶
Does nothing.
- Parameters:
job (toil.job.Job)
- Return type:
None
- toil.test.src.resumabilityTest.badChild(job)¶
Fails the first time it’s run, succeeds the second time.
- Parameters:
- Return type:
None