Skip to content

Commit

Permalink
chore: ignore errors during availability check
Browse files Browse the repository at this point in the history
  • Loading branch information
olavloite committed Aug 19, 2024
1 parent 50c5d22 commit 0c7959b
Showing 1 changed file with 7 additions and 1 deletion.
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 0c7959b

Please sign in to comment.