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

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

digraph inheritance40d6168f33 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "ResumabilityTest" [URL="#toil.test.src.resumabilityTest.ResumabilityTest",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="https://github.com/BD2KGenomics/toil/issues/808"]; "ToilTest" -> "ResumabilityTest" [arrowsize=0.5,style="setlinewidth(0.5)"]; "TestCase" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",tooltip="A class whose instances are single test cases."]; "ToilTest" [URL="../../index.html#toil.test.ToilTest",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A common base class for Toil tests."]; "TestCase" -> "ToilTest" [arrowsize=0.5,style="setlinewidth(0.5)"]; }

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

test()[source]

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

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.goodChild(job)[source]

Does nothing.

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

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