getsentry / getsentry/sentry

Flaky test: tests/sentry/sentry_metrics/test_indexer_cache.py::test_ttl_jitter

Open
#108,952 1 comment 0 reactions 0 assignees View on GitHub
flaky-test Tests
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

```
tests/sentry/sentry_metrics/test_indexer_cache.py:219: in test_ttl_jitter
assert not ttl_1 == ttl_2
E assert not 7251 == 7251
```

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.