Flaky test: tests/sentry/sentry_metrics/test_indexer_cache.py::test_ttl_jitter
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 21h 10m
- Merged PRs (30d)
- 635
Description
Failing test: `tests/sentry/sentry_metrics/test_indexer_cache.py::test_ttl_jitter`
Sentry sha: 79bb9f2a1cdd9bbed8a76ffa261ee7328244e04b
Run: https://github.com/getsentry/sentry/actions/runs/22289115723
```
[1m[31mtests/sentry/sentry_metrics/test_indexer_cache.py[0m:219: in test_ttl_jitter
assert not ttl_1 == ttl_2
[1m[31mE assert not 7251 == 7251[0m
```
Contributor guide
Research direction
Start with tests/sentry/sentry_metrics/test_indexer_cache.py at test_ttl_jitter, especially line 219, and review the linked GitHub Actions run for the failure context. Reproduce the assertion that ttl_1 and ttl_2 can both equal 7251, then determine what test behavior is needed to make the jitter check reliable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100