From f694c752d08ec55fb9122635e6de13d46d509734 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Wed, 4 Dec 2024 07:56:00 -0800 Subject: [PATCH] add expire times for redis objects --- tests/app/celery/test_scheduled_tasks.py | 1 + tests/app/celery/test_tasks.py | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/app/celery/test_scheduled_tasks.py b/tests/app/celery/test_scheduled_tasks.py index 90a29f5ed..553c4338e 100644 --- a/tests/app/celery/test_scheduled_tasks.py +++ b/tests/app/celery/test_scheduled_tasks.py @@ -415,6 +415,7 @@ def test_check_for_missing_rows_in_completed_jobs_calls_save_email( ), {}, queue="database-tasks", + expires=ANY ) diff --git a/tests/app/celery/test_tasks.py b/tests/app/celery/test_tasks.py index 197bcf1e5..41bc43c41 100644 --- a/tests/app/celery/test_tasks.py +++ b/tests/app/celery/test_tasks.py @@ -356,6 +356,7 @@ def test_process_row_sends_letter_task( ), {}, queue=expected_queue, + expires=ANY )