Skip to content

Commit

Permalink
feat(crons): Implement fallback clock pulse task
Browse files Browse the repository at this point in the history
  • Loading branch information
evanpurkhiser committed Aug 15, 2023
1 parent c66b615 commit d637f22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/sentry/monitors/test_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ def test_monitor_task_trigger(self, dispatch_tasks):
assert dispatch_tasks.call_count == 2

# A skipped minute trigges the task AND captures an error
with patch("sentry_sdk.capture_message") as capture_message:
with mock.patch("sentry_sdk.capture_message") as capture_message:
assert capture_message.call_count == 0
try_monitor_tasks_trigger(ts=now + timedelta(minutes=3, seconds=5))
assert dispatch_tasks.call_count == 3
Expand Down

0 comments on commit d637f22

Please sign in to comment.