Skip to content

Commit 42b39c0

Browse files
fix test
1 parent 5a5a25b commit 42b39c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/sentry/tasks/test_post_process.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3101,7 +3101,7 @@ def test_kick_off_seer_automation_skips_when_cache_key_exists(
31013101

31023102
# Set cache key to simulate automation already queued
31033103
cache_key = f"seer_automation_queued:{event.group.id}"
3104-
cache.set(cache_key, True, timeout=900)
3104+
cache.set(cache_key, True, timeout=600)
31053105

31063106
self.call_post_process_group(
31073107
is_new=True,
@@ -3148,7 +3148,7 @@ def test_kick_off_seer_automation_uses_atomic_cache_add(
31483148

31493149
# Should check cache but not call automation due to cache.add returning False
31503150
mock_cache.get.assert_called()
3151-
mock_cache.add.assert_called_once_with(cache_key, True, timeout=900)
3151+
mock_cache.add.assert_called_once_with(cache_key, True, timeout=600)
31523152
mock_start_seer_automation.assert_not_called()
31533153

31543154
@patch(

0 commit comments

Comments
 (0)