From 18b467e9b5f86cd1e3f25c4f579d6755db12ef14 Mon Sep 17 00:00:00 2001 From: anthony sottile Date: Mon, 25 Nov 2024 13:21:46 -0500 Subject: [PATCH] ref: fix flaky digests test --- tests/sentry/notifications/notifications/test_digests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sentry/notifications/notifications/test_digests.py b/tests/sentry/notifications/notifications/test_digests.py index be02406aa1f701..21499d4b20a9f2 100644 --- a/tests/sentry/notifications/notifications/test_digests.py +++ b/tests/sentry/notifications/notifications/test_digests.py @@ -163,7 +163,7 @@ def test_slack_digest_notification_block(self, digests): backend = RedisBackend() digests.backend.digest = backend.digest digests.enabled.return_value = True - timestamp_raw = before_now(days=1) + timestamp_raw = before_now(days=1).replace(microsecond=0) timestamp_secs = int(timestamp_raw.timestamp()) timestamp = timestamp_raw.isoformat() key = f"slack:p:{self.project.id}:IssueOwners::AllMembers"