Skip to content

Commit

Permalink
Increase timeout for MacOS pipelines.
Browse files Browse the repository at this point in the history
  • Loading branch information
JrooTJunior committed Feb 7, 2021
1 parent aebccd1 commit d189853
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_dispatcher/test_dispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ async def test_feed_webhook_update_slow_process(self, bot: MockedBot, recwarn):
) as mocked_silent_call_request:
response = await dispatcher.feed_webhook_update(bot, RAW_UPDATE, _timeout=0.1)
assert response is None
await asyncio.sleep(0.2)
await asyncio.sleep(0.5)
mocked_silent_call_request.assert_awaited()

@pytest.mark.asyncio
Expand All @@ -608,7 +608,7 @@ async def test_feed_webhook_update_fast_process_error(self, bot: MockedBot, capl

response = await dispatcher.feed_webhook_update(bot, RAW_UPDATE, _timeout=0.1)
assert response is None
await asyncio.sleep(0.2)
await asyncio.sleep(0.5)

log_records = [rec.message for rec in caplog.records]
assert "Cause exception while process update" in log_records[0]

0 comments on commit d189853

Please sign in to comment.