Skip to content

Commit 5654d4a

Browse files
committed
missing wait
1 parent be3f423 commit 5654d4a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

services/web/server/tests/unit/with_dbs/02/test_project_lock.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ async def _locked_fct() -> None:
9898
await asyncio.sleep(10)
9999

100100
task1 = asyncio.create_task(_locked_fct(), name="pytest_task_1")
101+
await started_event.wait()
101102
with pytest.raises(ProjectLockError):
102103
await _locked_fct()
103104

0 commit comments

Comments
 (0)