Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove wiremock tests where we start a server during test #12152

Merged
merged 1 commit into from
Nov 29, 2023

Conversation

DanVanAtta
Copy link
Member

This update removes the HTTP client tests for things like the lobby, maps & game-support server. In these cases, as part of testing, we launch these servers via docker-compose and will then use our HTTP client to do testing. The independent wiremock test of these same HTTP clients is redundant.

On the other hand, wiremock is still useful when we don't control the server, or can't invoke the server all the time (EG: githubs web-api). We still keep wiremock for this.

Notes to Reviewer

This update removes the HTTP client tests for things like
the lobby, maps & game-support server. In these cases,
as part of testing, we launch these servers via docker-compose
and will then use our HTTP client to do testing. The independent
wiremock test of these same HTTP clients is redundant.

On the other hand, wiremock is still useful when we don't
control the server, or can't invoke the server all the time
(EG: githubs web-api). We still keep wiremock for this.
@DanVanAtta DanVanAtta merged commit 92d5a37 into master Nov 29, 2023
1 check passed
@DanVanAtta DanVanAtta deleted the remove-wiremocks branch November 29, 2023 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant