mirror of
https://github.com/GSA/notifications-api.git
synced 2026-07-18 21:44:41 -04:00
change countdown from 30 to 60 seconds for message sends to better match batch insert timing
This commit is contained in:
@@ -664,7 +664,7 @@ def test_send_already_registered_email(
|
||||
stmt = select(Notification)
|
||||
notification = db.session.execute(stmt).scalars().first()
|
||||
mocked.assert_called_once_with(
|
||||
([str(notification.id)]), queue="notify-internal-tasks", countdown=30
|
||||
([str(notification.id)]), queue="notify-internal-tasks", countdown=60
|
||||
)
|
||||
assert (
|
||||
notification.reply_to_text
|
||||
@@ -703,7 +703,7 @@ def test_send_user_confirm_new_email_returns_204(
|
||||
stmt = select(Notification)
|
||||
notification = db.session.execute(stmt).scalars().first()
|
||||
mocked.assert_called_once_with(
|
||||
([str(notification.id)]), queue="notify-internal-tasks", countdown=30
|
||||
([str(notification.id)]), queue="notify-internal-tasks", countdown=60
|
||||
)
|
||||
assert (
|
||||
notification.reply_to_text
|
||||
|
||||
Reference in New Issue
Block a user