Show More
@@ -301,8 +301,9 class AsyncResultTest(ClusterTestCase): | |||||
301 | # timeout after 10s |
|
301 | # timeout after 10s | |
302 | while time.time() <= tic + 10: |
|
302 | while time.time() <= tic + 10: | |
303 | if ar.data: |
|
303 | if ar.data: | |
304 |
|
|
304 | i = ar.data['i'] | |
305 | if ar.data['i'] == 4: |
|
305 | found.add(i) | |
|
306 | if i == 4: | |||
306 | break |
|
307 | break | |
307 | time.sleep(0.05) |
|
308 | time.sleep(0.05) | |
308 |
|
309 |
General Comments 0
You need to be logged in to leave comments.
Login now