Skip to content

Commit 4edeef0

Browse files
committed
wip: fix tests again
1 parent 8c2c057 commit 4edeef0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pulpcore/tests/functional/api/test_tasking.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ def wait_until(state, task_href, timeout=10):
521521
for i in range(timeout):
522522
task = pulpcore_bindings.TasksApi.read(task_href)
523523
if task.state == state:
524-
break
524+
return
525525
time.sleep(1)
526526
raise RuntimeError("Timeout waiting for task to transition")
527527

0 commit comments

Comments
 (0)