getsentry / getsentry/sentry-java

Replace calls to external API in e2e tests with something hosted locally on CI

Ouverte
#4,765 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Java Tests
Langage dominant
Kotlin
Étoiles
1.4k
Forks
478
Merge moyen
2 j 23 h
PR mergées (30 j)
67

Description

### Description

We're currently calling `GET https://jsonplaceholder.typicode.com/todos/1` and others during e2e tests.
We've just seen a flake where this caused e2e tests to fail.
We should host something on CI for testing locally to not have flaky tests. Similar to the mock Sentry server.

For samples I'd recommend keeping what we currently have and only override for e2e test execution so customers who want to try the sample don't have to spin up another service.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.