toil.test.src.resumabilityTest

Module Contents

Classes

ResumabilityTest

https://github.com/BD2KGenomics/toil/issues/808

Functions

parent(job)

Set up a bunch of dummy child jobs, and a bad job that needs to be

chaining_parent(job)

Set up a failing job to chain to.

goodChild(job)

Does nothing.

badChild(job)

Fails the first time it's run, succeeds the second time.

class toil.test.src.resumabilityTest.ResumabilityTest(methodName='runTest')[source]

Bases: toil.test.ToilTest

https://github.com/BD2KGenomics/toil/issues/808

test()[source]

Tests that a toil workflow that fails once can be resumed without a NoSuchJobException.

test_chaining()[source]

Tests that a job which is chained to and fails can resume and succeed.

toil.test.src.resumabilityTest.parent(job)[source]

Set up a bunch of dummy child jobs, and a bad job that needs to be restarted as the follow on.

toil.test.src.resumabilityTest.chaining_parent(job)[source]

Set up a failing job to chain to.

toil.test.src.resumabilityTest.goodChild(job)[source]

Does nothing.

toil.test.src.resumabilityTest.badChild(job)[source]

Fails the first time it’s run, succeeds the second time.