mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 10:21:14 -05:00
Add letter tasks to manifest and queue name to config test
This commit is contained in:
@@ -51,7 +51,7 @@ applications:
|
|||||||
NOTIFY_APP_NAME: delivery-worker-priority
|
NOTIFY_APP_NAME: delivery-worker-priority
|
||||||
|
|
||||||
- name: notify-delivery-worker
|
- name: notify-delivery-worker
|
||||||
command: scripts/run_app_paas.sh celery -A run_celery.notify_celery worker --loglevel=INFO --concurrency=11 -Q job-tasks,retry-tasks,notify-internal-tasks,create-letters-pdf-tasks
|
command: scripts/run_app_paas.sh celery -A run_celery.notify_celery worker --loglevel=INFO --concurrency=11 -Q job-tasks,retry-tasks,notify-internal-tasks,create-letters-pdf-tasks,letter-tasks
|
||||||
env:
|
env:
|
||||||
NOTIFY_APP_NAME: delivery-worker
|
NOTIFY_APP_NAME: delivery-worker
|
||||||
|
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ def test_cloudfoundry_config_has_different_defaults():
|
|||||||
def test_queue_names_all_queues_correct():
|
def test_queue_names_all_queues_correct():
|
||||||
# Need to ensure that all_queues() only returns queue names used in API
|
# Need to ensure that all_queues() only returns queue names used in API
|
||||||
queues = QueueNames.all_queues()
|
queues = QueueNames.all_queues()
|
||||||
assert len(queues) == 12
|
assert len(queues) == 13
|
||||||
assert set([
|
assert set([
|
||||||
QueueNames.PRIORITY,
|
QueueNames.PRIORITY,
|
||||||
QueueNames.PERIODIC,
|
QueueNames.PERIODIC,
|
||||||
@@ -76,5 +76,6 @@ def test_queue_names_all_queues_correct():
|
|||||||
QueueNames.RETRY,
|
QueueNames.RETRY,
|
||||||
QueueNames.NOTIFY,
|
QueueNames.NOTIFY,
|
||||||
QueueNames.CREATE_LETTERS_PDF,
|
QueueNames.CREATE_LETTERS_PDF,
|
||||||
QueueNames.CALLBACKS
|
QueueNames.CALLBACKS,
|
||||||
|
QueueNames.LETTERS,
|
||||||
]) == set(queues)
|
]) == set(queues)
|
||||||
|
|||||||
Reference in New Issue
Block a user