Skip to content

Commit

Permalink
test: twaek wait time
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhenShuo2021 committed Dec 10, 2024
1 parent a39d543 commit 90273c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_util_multitask.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ async def test_async_get_results_with_max_results(async_service):
tasks = [Task(task_id=f"task{i}", func=async_simple_add, args=(i, i)) for i in range(5)]
async_service.start()
async_service.add_tasks(tasks)
await asyncio.sleep(WAIT_TIME * 5)
await asyncio.sleep(WAIT_TIME * 10)

results = async_service.get_results(max_results=3)
assert len(results) == 3
Expand Down

0 comments on commit 90273c0

Please sign in to comment.