Skip to content

Commit

Permalink
Fix perfect version of service tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adamnovak committed Nov 8, 2024
1 parent 493d29b commit d8d2423
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions src/toil/test/src/jobServiceTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,23 +249,17 @@ def runToil(
class PerfectServiceTest(JobServiceTest):
def runToil(
self,
rootJob,
retryCount=1,
badWorker=0,
badWorkedFailInterval=1000,
maxServiceJobs=sys.maxsize,
deadlockWait=60,
*args,
**kwargs
):
"""
Let us run all the tests in the other service test class, but without worker failures.
"""
del kwargs["badWorker"]
super().runToil(
rootJob,
retryCount,
badWorker,
badWorkedFailInterval,
maxServiceJobs,
deadlockWait,
*args,
badWorker=0,
**kwargs
)


Expand Down

0 comments on commit d8d2423

Please sign in to comment.