diff --git a/apps/worker/tests/contract/test_worker_shutdown_contract.py b/apps/worker/tests/contract/test_worker_shutdown_contract.py index cc7c5c65..b970baca 100644 --- a/apps/worker/tests/contract/test_worker_shutdown_contract.py +++ b/apps/worker/tests/contract/test_worker_shutdown_contract.py @@ -4,7 +4,7 @@ from pathlib import Path -def test_should_preserve_fargate_worker_soft_shutdown_contract( +def test_should_preserve_fargate_worker_sigterm_shutdown_contract( worker_contract_environment: None, ) -> None: from shared.core.celery_app import celery_app @@ -31,5 +31,5 @@ def test_should_preserve_fargate_worker_soft_shutdown_contract( assert celery_app.conf.worker_soft_shutdown_timeout == 90 assert celery_app.conf.worker_enable_soft_shutdown_on_idle is True - assert environment_values["REMAP_SIGTERM"] == "SIGQUIT" + assert "REMAP_SIGTERM" not in environment_values assert worker_container["stopTimeout"] == 120 diff --git a/deploy/ecs/task-definition-worker.staging.json b/deploy/ecs/task-definition-worker.staging.json index 3ceb5d23..1dae5664 100644 --- a/deploy/ecs/task-definition-worker.staging.json +++ b/deploy/ecs/task-definition-worker.staging.json @@ -20,7 +20,6 @@ "environment": [ {"name": "ENVIRONMENT", "value": "staging"}, {"name": "APP_ENV", "value": "staging"}, - {"name": "REMAP_SIGTERM", "value": "SIGQUIT"}, {"name": "DB_SSL_MODE", "value": "require"}, {"name": "DB_SYNC_POOL_SIZE", "value": "2"}, {"name": "DB_SYNC_MAX_OVERFLOW", "value": "2"},