Upgrade to Testcontainers 1.14.2

See gh-21581
This commit is contained in:
dreis2211
2020-05-26 19:30:01 +02:00
committed by Stephane Nicoll
parent 35121f182e
commit b498d3903f
12 changed files with 22 additions and 25 deletions

View File

@@ -103,8 +103,8 @@ class DeploymentIntegrationTests {
this.port)) {
container.start();
TestRestTemplate rest = new TestRestTemplate(new RestTemplateBuilder()
.rootUri("http://" + container.getContainerIpAddress() + ":"
+ container.getMappedPort(this.port) + "/spring-boot")
.rootUri("http://" + container.getHost() + ":" + container.getMappedPort(this.port)
+ "/spring-boot")
.requestFactory(() -> new HttpComponentsClientHttpRequestFactory(HttpClients.custom()
.setRetryHandler(new StandardHttpRequestRetryHandler(10, false)).build())));
try {