Hello all! I am using WireMock (specifically com.g...
# help
t
Hello all! I am using WireMock (specifically com.github.tomakehurstwiremock jre8 standalone2.35.1) and seem to be having troubles with the dynamic ports when running my tests in parallel. I infrequently get a
Failed to bind
exception on tests startup. Has anyone run into anything similar?
l
It does happen every so often where the random port selection happens to be in use.
Not that it will help with the port selection but are you using such an old wiremock version for a specific reason ? I am interested to hear if there are reasons why people are not able to use the latest version.
t
Hi Lee, that version of Wiremock is the latest one used by Spring Cloud, which we are locked into unfortunately.
l
Wow, that is really old. I think this project uses a later version. Not the latest but at least in the 3.x.x version - https://github.com/maciejwalkowiak/wiremock-spring-boot