Skip to content

Commit

Permalink
[#180] Remove unused parameter in wait_for_job_to_finish
Browse files Browse the repository at this point in the history
  • Loading branch information
alanking committed Oct 10, 2024
1 parent 972cdef commit ccd26ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions irods_capability_automated_ingest/test/test_delete_modes.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def start_workers(n=2, args=[]):
return workers


def wait_for_job_to_finish(workers, job_name, timeout=60):
def wait_for_job_to_finish(job_name, timeout=60):
r = get_redis(test_lib.get_redis_config())
t0 = time.time()
while timeout is None or time.time() - t0 < timeout:
Expand Down Expand Up @@ -288,7 +288,7 @@ def run_sync(
proc.wait()
# ...and then wait for the workers to complete the tasks.
try:
wait_for_job_to_finish(self.workers, job_name)
wait_for_job_to_finish(job_name)
except TimeoutError as e:
self.fail(e)
# Assert that the expected number of failed tasks for this job are found. A value of None means no tasks
Expand Down

0 comments on commit ccd26ae

Please sign in to comment.