Upgrade to Testcontainers 1.14.2
See gh-21581
This commit is contained in:
committed by
Stephane Nicoll
parent
35121f182e
commit
b498d3903f
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user