Skip to content

build: bump version.testcontainers from 1.20.3 to 1.20.6 #4056

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 2, 2025
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,11 @@ void testSecurityManagerWarning() {
try (AgentTestContainer.JarApp app = testAppWithJavaAgent("openjdk:17", AgentFileAccessor.Variant.STANDARD)) {

app.withSecurityManager(null)
.waitingFor(Wait.forLogMessage(expectedMsg, 1))
// using a dummy command since testcontainers 1.21.0 as waiting on stderr msg is not working anymore
// when the container fails to start. Likely related to https://github.com/testcontainers/testcontainers-java/issues/9956
.waitingFor(Wait.forSuccessfulCommand("bash --version"))
// we expect startup to fail fast as JVM should not even properly start
.withStartupTimeout(Duration.ofSeconds(1));
.withStartupTimeout(Duration.ofSeconds(3));

app.start();

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
<!-- used both for plugin & annotations dependency -->
<version.animal-sniffer>1.17</version.animal-sniffer>

<version.testcontainers>1.20.3</version.testcontainers>
<version.testcontainers>1.21.0</version.testcontainers>

<!-- latest version compiled for java 11 -->
<version.jsonunit>2.38.0</version.jsonunit>
Expand Down
Loading