Fixed issues with bound ports

This commit is contained in:
Marcin Grzejszczak
2018-12-18 13:20:39 +01:00
parent d23e0c61bf
commit 7b2cce7513
17 changed files with 190 additions and 284 deletions

View File

@@ -42,7 +42,7 @@ import org.springframework.util.SocketUtils
class DslToWireMockClientConverterSpec extends Specification {
static int port = SocketUtils.findAvailableTcpPort()
int port = SocketUtils.findAvailableTcpPort()
@Rule public WireMockRule wireMockRule = new WireMockRule(port)
@Rule public TemporaryFolder tmpFolder = new TemporaryFolder()
TestRestTemplate restTemplate = new TestRestTemplate()