Use dynamic port where possible in tests that use WireMock
Closed this issue ยท 2 comments
hbelmiro commented
There are a few tests that instantiate a WireMockServer
with a fixed port, like:
We should replace it with new WireMockServer(WireMockConfiguration.wireMockConfig().dynamicPort())
always as possible to avoid flaky tests.
dritoferro commented
ricardozanini commented
Hi @dritoferro fell free to take it and send a PR to the repo. :)
Thanks!!