Flaky test: tests/sentry/web/frontend/test_auth_login.py::AuthLoginTest::test_login_ratelimited_ip_gets
Open
Nobody has claimed this yet.
flaky-test
Tests
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 21h 23m
- Merged PRs (30d)
- 607
Description
Failing test: tests/sentry/web/frontend/test_auth_login.py::AuthLoginTest::test_login_ratelimited_ip_gets
Sentry sha: c5a059afe94a41739cafe1be0cbb7bcaea728b8f
Run: https://github.com/getsentry/sentry/actions/runs/22266452557
[1m[31mtests/sentry/web/frontend/test_auth_login.py[0m:87: in test_login_ratelimited_ip_gets
assert resp.status_code == 429
[1m[31mE assert 200 == 429[0m
[1m[31mE + where 200 = <HttpResponse status_code=200, "text/html">.status_code[0m
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with tests/sentry/web/frontend/test_auth_login.py::AuthLoginTest::test_login_ratelimited_ip_gets and review the linked Actions run for the intermittent 200 response. Trace the test's rate-limit setup and make the test reliably verify the expected 429 status, then rerun this test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- authentication, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100