getsentry / getsentry/sentry-java

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

Abierto
#4,765 1 comentario 0 reacciones 0 asignados Ver en GitHub
Java Tests
Lenguaje dominante
Kotlin
Estrellas
1.4k
Forks
478
Merge medio
2 d 23 h
PR fusionados (30 d)
67

Descripción

### 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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.