File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -445,15 +445,15 @@ async def test_add_requests_wait_for_all(
445445 urls ,
446446 batch_size = 5 ,
447447 wait_for_all_requests_to_be_added = wait_for_all ,
448- wait_time_between_batches = timedelta (milliseconds = 100 ),
448+ wait_time_between_batches = timedelta (milliseconds = 50 ),
449449 )
450450
451451 if not wait_for_all :
452452 # Immediately after adding, the total count may be less than 15 due to background processing
453453 assert await rq .get_total_count () <= 15
454454
455- # Wait a 250 milliseconds for background tasks to complete
456- await asyncio .sleep (0.25 )
455+ # Wait a 500 milliseconds for background tasks to complete
456+ await asyncio .sleep (0.5 )
457457
458458 # Verify all requests were added
459459 assert await rq .get_total_count () == 15
You can’t perform that action at this time.
0 commit comments