Skip to content

Commit

Permalink
(fix) Solve timeout error in unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
abel committed Jul 19, 2023
1 parent cd2ad70 commit cdb5e36
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -287,7 +287,7 @@ def test_listen_for_order_book_diffs_logs_exception(self):
msg_queue: asyncio.Queue = asyncio.Queue()
self.create_task(self.data_source.listen_for_order_book_diffs(self.async_loop, msg_queue))

self.async_run_with_timeout(msg_queue.get())
self.async_run_with_timeout(msg_queue.get(), timeout=5)

self.assertTrue(
self.is_logged(
Expand Down

0 comments on commit cdb5e36

Please sign in to comment.