Skip to content

Commit abeab74

Browse files
fix: force worker stop
1 parent 97ded5f commit abeab74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/celery-library/tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,9 @@ def _on_worker_stopped_wrapper(_: Celery, worker: WorkController, **_kwargs):
150150
loglevel="debug",
151151
perform_ping_check=False,
152152
queues="default",
153-
shutdown_timeout=15.0,
154153
) as worker:
155154
yield worker
155+
worker.stop()
156156

157157

158158
@pytest.fixture

0 commit comments

Comments
 (0)