Skip to content

Commit ca6fd3c

Browse files
committed
Upgrade to Testcontainers 1.21.0
Closes gh-45276
1 parent be1a097 commit ca6fd3c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

spring-boot-project/spring-boot-dependencies/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -2454,7 +2454,7 @@ bom {
24542454
releaseNotes("https://github.com/xerial/sqlite-jdbc/releases/tag/{version}")
24552455
}
24562456
}
2457-
library("Testcontainers", "1.20.6") {
2457+
library("Testcontainers", "1.21.0") {
24582458
group("org.testcontainers") {
24592459
bom("testcontainers-bom")
24602460
}

spring-boot-project/spring-boot-testcontainers/src/dockerTest/java/org/springframework/boot/testcontainers/service/connection/otlp/GrafanaOpenTelemetryMetricsContainerConnectionDetailsFactoryIntegrationTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ void connectionCanBeMadeToOpenTelemetryCollectorContainer() {
7676
.untilAsserted(() -> {
7777
Response response = RestAssured.given()
7878
.queryParam("query", "{job=\"test\"}")
79-
.get("%s/api/v1/query".formatted(container.getPromehteusHttpUrl()))
79+
.get("%s/api/v1/query".formatted(container.getPrometheusHttpUrl()))
8080
.prettyPeek()
8181
.thenReturn();
8282
assertThat(response.getStatusCode()).isEqualTo(200);

spring-boot-project/spring-boot-testcontainers/src/main/java/org/springframework/boot/testcontainers/service/connection/ldap/LLdapContainerConnectionDetailsFactory.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public String getUsername() {
6161

6262
@Override
6363
public String getPassword() {
64-
return getContainer().getUserPass();
64+
return getContainer().getPassword();
6565
}
6666

6767
}

0 commit comments

Comments
 (0)