Upgrade to Testcontainers 1.21.0

Closes gh-45276
This commit is contained in:
Stéphane Nicoll 2025-04-24 09:10:49 +02:00
parent be1a097d31
commit ca6fd3ce1b
3 changed files with 3 additions and 3 deletions

View File

@ -2454,7 +2454,7 @@ bom {
releaseNotes("https://github.com/xerial/sqlite-jdbc/releases/tag/{version}")
}
}
library("Testcontainers", "1.20.6") {
library("Testcontainers", "1.21.0") {
group("org.testcontainers") {
bom("testcontainers-bom")
}

View File

@ -76,7 +76,7 @@ class GrafanaOpenTelemetryMetricsContainerConnectionDetailsFactoryIntegrationTes
.untilAsserted(() -> {
Response response = RestAssured.given()
.queryParam("query", "{job=\"test\"}")
.get("%s/api/v1/query".formatted(container.getPromehteusHttpUrl()))
.get("%s/api/v1/query".formatted(container.getPrometheusHttpUrl()))
.prettyPeek()
.thenReturn();
assertThat(response.getStatusCode()).isEqualTo(200);

View File

@ -61,7 +61,7 @@ class LLdapContainerConnectionDetailsFactory
@Override
public String getPassword() {
return getContainer().getUserPass();
return getContainer().getPassword();
}
}