Skip to content

Commit 19e37b2

Browse files
committed
increase timeout
1 parent 5e46f18 commit 19e37b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/api/test_scheduler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ async def test_successful() -> None:
1616
@broker.task(schedule=[{"time": datetime.now(timezone.utc) - timedelta(seconds=1)}])
1717
def _() -> None: ...
1818

19-
msg = await asyncio.wait_for(broker.queue.get(), 1)
19+
msg = await asyncio.wait_for(broker.queue.get(), 2)
2020
assert msg
2121

2222
scheduler_task.cancel()

0 commit comments

Comments
 (0)