Skip to content

Commit 9519a3c

Browse files
devinfra-flakiness[bot]getsantry[bot]hubertdeng123
authored
Skip flaky test: test_ratelimit (#95996)
Please help us keep Sentry flake-free by merging this PR while a longer-term resolution is implemented in issue #95995. **Test:** `tests/sentry/api/test_organization_events.py::OrganizationEventsEndpointTest::test_ratelimit` Statistics over the last 30 days: * Runs Recorded: 792 * Flakes Failed: 0 (0%) * Flakes Retried: 24 (3.030303%) ### Example Flakes: - https://github.com/getsentry/sentry/actions/runs/16380239594/job/46289963205 - https://github.com/getsentry/sentry/actions/runs/16379869153/job/46288758386 - https://github.com/getsentry/sentry/actions/runs/16330704445/job/46132310901 - https://github.com/getsentry/sentry/actions/runs/16330697329/job/46132290662 - https://github.com/getsentry/sentry/actions/runs/16330691651/job/46132271784 --- **See also:** [Flaky Test Policy & Responsibilities](https://www.notion.so/sentry/Flaky-Test-Policy-Responsibilities-2078b10e4b5d804a8c53de7dd52d3c43) <!-- flaky-test-metadata-do-not-remove {"nodeid": "tests/sentry/api/test_organization_events.py::OrganizationEventsEndpointTest::test_ratelimit"} --> --------- Co-authored-by: devinfra-flakiness[bot] <212413796+devinfra-flakiness[bot]@users.noreply.github.com> Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com> Co-authored-by: Hubert Deng <hubert.deng@sentry.io>
1 parent f14d8a2 commit 9519a3c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/sentry/api/test_organization_events.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from unittest import mock
22

3+
import pytest
34
from django.http import HttpRequest
45
from django.test import override_settings
56
from django.urls import reverse
@@ -205,6 +206,7 @@ def test_valid_referrer(self, mock: mock.MagicMock) -> None:
205206
_, kwargs = mock.call_args
206207
self.assertEqual(kwargs["referrer"], "api.performance.transaction-summary")
207208

209+
@pytest.mark.skip(reason="flaky: #95995")
208210
@override_settings(SENTRY_SELF_HOSTED=False)
209211
def test_ratelimit(self) -> None:
210212
query = {

0 commit comments

Comments
 (0)