Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/worker/tests/contract/test_worker_shutdown_contract.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
1 change: 0 additions & 1 deletion deploy/ecs/task-definition-worker.staging.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
Expand Down
Loading