getsentry / getsentry/sentry-java

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

Open
#4,765 1 comment 0 reactions 0 assignees View on GitHub
Java Tests
Dominant language
Kotlin
Stars
1.4k
Forks
478
Avg merge
2d 23h
Merged PRs (30d)
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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.