Method
test_shutdown_exit_with_zero
(self, celery_setup: CeleryTestSetup)
Source from the content-addressed store, hash-verified
| 12 | ) |
| 13 | |
| 14 | def test_shutdown_exit_with_zero(self, celery_setup: CeleryTestSetup): |
| 15 | celery_setup.app.control.shutdown(destination=[celery_setup.worker.hostname()]) |
| 16 | while celery_setup.worker.container.status != "exited": |
| 17 | celery_setup.worker.container.reload() |
| 18 | assert celery_setup.worker.container.attrs["State"]["ExitCode"] == 0 |
Callers
nothing calls this directly
Tested by
no test coverage detected