Parcourir la source

Updated conftest.py

maziggy il y a 3 mois
Parent
commit
4cf76c53c7
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      backend/tests/conftest.py

+ 1 - 1
backend/tests/conftest.py

@@ -94,7 +94,7 @@ async def test_engine():
     # Allow aiosqlite's background thread to finish processing the close
     # response before the per-function event loop shuts down, preventing
     # "RuntimeError: Event loop is closed" in call_soon_threadsafe.
-    await asyncio.sleep(0.01)
+    await asyncio.sleep(0.05)
 
 
 @pytest.fixture