getsentry / getsentry/sentry

Flaky test: tests/sentry/issues/endpoints/test_group_event_details.py::GroupEventDetailsHelpfulEndpointTest::test_get_helpful_event_id

Open
#108,833 1 comment 0 reactions 0 assignees View on GitHub

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/issues/endpoints/test_group_event_details.py::GroupEventDetailsHelpfulEndpointTest::test_get_helpful_event_id
Sentry sha: c5a059afe94a41739cafe1be0cbb7bcaea728b8f
Run: https://github.com/getsentry/sentry/actions/runs/22266451196

tests/sentry/issues/endpoints/test_group_event_details.py:230: in test_get_helpful_event_id
    assert response.data["id"] == str(self.event_e.event_id)
E   AssertionError: assert 'dddddddddddd...ddddddddddddd' == 'eeeeeeeeeeee...eeeeeeeeeeeee'
E     
E     - eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
E     + dddddddddddddddddddddddddddddddd

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running tests/sentry/issues/endpoints/test_group_event_details.py::GroupEventDetailsHelpfulEndpointTest::test_get_helpful_event_id and inspect the failure at the reported assertion. Trace the test's event fixtures and endpoint response to determine why the dddd event is returned instead of self.event_e; done means the test passes reliably with the expected event ID.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, testing
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.