It seems that the change provided in this bug led to undesired behaviour by defaulting the server port always to 8080 after setting it once to a random port.
This block replaces the wiremock.server.port property even if it has been already set
else {
Map<String, Object> source = getWireMockSource(environment);
source.put("wiremock.server.port", 8080);
if (log.isDebugEnabled()) {
log.debug("Registered WireMock server port property to the default <8080> value");
}
}
could you please be kind and have a look on this issue?
Describe the bug
It seems that the change provided in this bug led to undesired behaviour by defaulting the server port always to 8080 after setting it once to a random port.
This block replaces the
wiremock.server.port
property even if it has been already setcould you please be kind and have a look on this issue?
affected Version: 3.1.9
Thanks in Advance