From 3b8886897634744e7a285a562c935e91da96758a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Krassowski?= <5832902+krassowski@users.noreply.github.com> Date: Tue, 2 Apr 2024 10:00:51 +0100 Subject: [PATCH] Also wait to stop in `test_room_concurrent_initialization` --- tests/test_documents.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/test_documents.py b/tests/test_documents.py index f856e0c7..a81b97d4 100644 --- a/tests/test_documents.py +++ b/tests/test_documents.py @@ -41,6 +41,7 @@ async def test_dirty( async def test_room_concurrent_initialization( + jp_serverapp, rtc_create_file, rtc_connect_doc_client, ): @@ -60,6 +61,10 @@ async def connect(file_format, file_type, file_path): t1 = time() assert t1 - t0 < 0.5 + # workaround for a shutdown issue of aiosqlite, see + # https://github.com/jupyterlab/jupyter-collaboration/issues/252 + await jp_serverapp.web_app.settings["jupyter_collaboration"].stop_extension() + async def test_room_sequential_opening( jp_serverapp,