Skip to content

Commit 95534f9

Browse files
Merge remote-tracking branch 'upstream/master' into is7930/refactor-async-jobs-rpc-routes
2 parents 03ad8bd + 383c511 commit 95534f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/celery-library/tests/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232

3333
class FakeAppServer(BaseAppServer):
3434
async def lifespan(self, startup_completed_event: threading.Event) -> None:
35-
pass
35+
startup_completed_event.set()
36+
await self.shutdown_event.wait() # wait for shutdown
3637

3738

3839
@pytest.fixture

0 commit comments

Comments
 (0)