mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-30 06:21:50 -05:00
change countdown from 30 to 60 seconds for message sends to better match batch insert timing
This commit is contained in:
@@ -264,7 +264,7 @@ def test_send_notification_to_queue(
|
||||
send_notification_to_queue(notification=notification, queue=requested_queue)
|
||||
|
||||
mocked.assert_called_once_with(
|
||||
[str(notification.id)], queue=expected_queue, countdown=30
|
||||
[str(notification.id)], queue=expected_queue, countdown=60
|
||||
)
|
||||
|
||||
|
||||
@@ -278,7 +278,7 @@ def test_send_notification_to_queue_throws_exception_deletes_notification(
|
||||
with pytest.raises(Boto3Error):
|
||||
send_notification_to_queue(sample_notification, False)
|
||||
mocked.assert_called_once_with(
|
||||
[(str(sample_notification.id))], queue="send-sms-tasks", countdown=30
|
||||
[(str(sample_notification.id))], queue="send-sms-tasks", countdown=60
|
||||
)
|
||||
|
||||
assert _get_notification_query_count() == 0
|
||||
|
||||
Reference in New Issue
Block a user