Skip to content

Commit

Permalink
deps: update dependency org.testcontainers:testcontainers to v1.20.1 (#…
Browse files Browse the repository at this point in the history
…1684)

* deps: update dependency org.testcontainers:testcontainers to v1.20.1

* chore: ignore errors during availability check

---------

Co-authored-by: Knut Olav Løite <[email protected]>
  • Loading branch information
renovate-bot and olavloite authored Aug 19, 2024
1 parent c49c9db commit 0907305
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers</artifactId>
<version>1.19.8</version>
<version>1.20.1</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion samples/snippets/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers</artifactId>
<version>1.19.8</version>
<version>1.20.1</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion samples/spring-data-jdbc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers</artifactId>
<version>1.19.8</version>
<version>1.20.1</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,13 @@ public class ConcurrentTransactionOnEmulatorTest {

@BeforeClass
public static void startEmulator() {
assumeTrue(DockerClientFactory.instance().isDockerAvailable());
boolean dockerAvailable = false;
try {
dockerAvailable = DockerClientFactory.instance().isDockerAvailable();
} catch (Exception ignore) {
// Ignore, and just skip the test.
}
assumeTrue(dockerAvailable);

emulator =
new GenericContainer<>(
Expand Down

0 comments on commit 0907305

Please sign in to comment.