Prepared code for parallel run

This commit is contained in:
Marcin Grzejszczak
2016-11-14 10:30:04 +01:00
parent e93d951d50
commit 42d82dca23
22 changed files with 44 additions and 29 deletions

View File

@@ -1,4 +1,5 @@
#WireMock password - http://wiremock.org/docs/running-standalone/
server.ssl.key-store-password=password
server.ssl.key-password=password
server.ssl.trust-store-password=password
server.ssl.trust-store-password=password
server.port=-1

View File

@@ -20,14 +20,14 @@ import com.github.tomakehurst.wiremock.junit.WireMockClassRule;
@RunWith(SpringRunner.class)
@SpringBootTest("app.baseUrl=https://localhost:8443")
@SpringBootTest("app.baseUrl=https://localhost:7443")
@DirtiesContext
@ActiveProfiles("ssl")
public class WiremockHttpsServerApplicationTests {
@ClassRule
public static WireMockClassRule wiremock = new WireMockClassRule(
WireMockSpring.options().httpsPort(8443));
WireMockSpring.options().httpsPort(7443));
@Autowired
private Service service;