Browse Source

Updated conftest.py

maziggy 3 months ago
parent
commit
4cf76c53c7
1 changed files with 1 additions and 1 deletions
  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
     # Allow aiosqlite's background thread to finish processing the close
     # response before the per-function event loop shuts down, preventing
     # response before the per-function event loop shuts down, preventing
     # "RuntimeError: Event loop is closed" in call_soon_threadsafe.
     # "RuntimeError: Event loop is closed" in call_soon_threadsafe.
-    await asyncio.sleep(0.01)
+    await asyncio.sleep(0.05)
 
 
 
 
 @pytest.fixture
 @pytest.fixture