getsentry / getsentry/sentry

Flaky test: tests/snuba/api/endpoints/test_organization_events.py::OrganizationEventsEndpointTest::test_floored_epm_more_events

Open
#108,709 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/snuba/api/endpoints/test_organization_events.py::OrganizationEventsEndpointTest::test_floored_epm_more_events`
Sentry sha: fddfa4326a47c46f2878589a97db21d56b76bdcb
Run: https://github.com/getsentry/sentry/actions/runs/22235462810

```
tests/snuba/api/endpoints/test_organization_events.py:5679: in test_floored_epm_more_events
assert data[0]["epm()"] == 12.5
E assert 12.605042016806722 == 12.5
```

Contributor guide

Open the contributing guide

Research direction

Start with tests/snuba/api/endpoints/test_organization_events.py at line 5679 and inspect the failing test in the linked CI run. Determine why test_floored_epm_more_events produces 12.605042016806722 instead of 12.5, then make the test reliable and confirm it passes consistently.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.