Skip to content

Commit 0907305

Browse files
deps: update dependency org.testcontainers:testcontainers to v1.20.1 (#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]>
1 parent c49c9db commit 0907305

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@
166166
<dependency>
167167
<groupId>org.testcontainers</groupId>
168168
<artifactId>testcontainers</artifactId>
169-
<version>1.19.8</version>
169+
<version>1.20.1</version>
170170
<scope>test</scope>
171171
</dependency>
172172
<dependency>

samples/snippets/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<dependency>
4949
<groupId>org.testcontainers</groupId>
5050
<artifactId>testcontainers</artifactId>
51-
<version>1.19.8</version>
51+
<version>1.20.1</version>
5252
<scope>test</scope>
5353
</dependency>
5454
<dependency>

samples/spring-data-jdbc/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
<dependency>
110110
<groupId>org.testcontainers</groupId>
111111
<artifactId>testcontainers</artifactId>
112-
<version>1.19.8</version>
112+
<version>1.20.1</version>
113113
<scope>test</scope>
114114
</dependency>
115115
</dependencies>

src/test/java/com/google/cloud/spanner/jdbc/ConcurrentTransactionOnEmulatorTest.java

+7-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,13 @@ public class ConcurrentTransactionOnEmulatorTest {
4545

4646
@BeforeClass
4747
public static void startEmulator() {
48-
assumeTrue(DockerClientFactory.instance().isDockerAvailable());
48+
boolean dockerAvailable = false;
49+
try {
50+
dockerAvailable = DockerClientFactory.instance().isDockerAvailable();
51+
} catch (Exception ignore) {
52+
// Ignore, and just skip the test.
53+
}
54+
assumeTrue(dockerAvailable);
4955

5056
emulator =
5157
new GenericContainer<>(

0 commit comments

Comments
 (0)