getsentry / getsentry/sentry

Flaky test: tests/sentry/web/frontend/test_project_event.py::ProjectEventCustomerDomainTest::test_redirect_to_event_customer_domain

Open
#109,061 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/web/frontend/test_project_event.py::ProjectEventCustomerDomainTest::test_redirect_to_event_customer_domain`
Sentry sha: d9ad7639e47f7492cc115bef2a69b9f344529f4f
Run: https://github.com/getsentry/sentry/actions/runs/22299907033

```
tests/sentry/web/frontend/test_project_event.py:87: in test_redirect_to_event_customer_domain
assert (
E AssertionError: assert 'http://new-k...a4445d837bf8/' == 'http://new-k...a4445d837bf8/'
E 
E - http://new-kingfish.testserver/issues/567/events/8041bc52bc1a40519b8da4445d837bf8/
E + http://new-kingfish.testserver/organizations/new-kingfish/issues/567/events/8041bc52bc1a40519b8da4445d837bf8/
E ? +++++++++++++++++++++++++++
```

Contributor guide

Open the contributing guide

Research direction

Start with tests/sentry/web/frontend/test_project_event.py::ProjectEventCustomerDomainTest::test_redirect_to_event_customer_domain and review the failure from Actions run 22299907033. Reproduce the assertion and investigate why the two redirect URLs differ. Done means the test passes reliably with the intended redirect behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.