Skip to content

Commit

Permalink
Also wait to stop in test_room_concurrent_initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
krassowski authored Apr 2, 2024
1 parent bce5a47 commit 3b88868
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_documents.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ async def test_dirty(


async def test_room_concurrent_initialization(
jp_serverapp,
rtc_create_file,
rtc_connect_doc_client,
):
Expand All @@ -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,
Expand Down

0 comments on commit 3b88868

Please sign in to comment.