Show More
@@ -325,7 +325,7 b' class TestClient(ClusterTestCase):' | |||||
325 | # timeout 5s, polling every 100ms |
|
325 | # timeout 5s, polling every 100ms | |
326 | qs = rc.queue_status() |
|
326 | qs = rc.queue_status() | |
327 | for i in range(50): |
|
327 | for i in range(50): | |
328 |
if qs['unassigned'] or any(qs[eid]['tasks'] + qs[eid]['queue'] for eid in |
|
328 | if qs['unassigned'] or any(qs[eid]['tasks'] + qs[eid]['queue'] for eid in qs if eid != 'unassigned'): | |
329 | time.sleep(0.1) |
|
329 | time.sleep(0.1) | |
330 | qs = rc.queue_status() |
|
330 | qs = rc.queue_status() | |
331 | else: |
|
331 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now