diff --git a/src/test/java/io/github/hectorvent/floci/services/rds/proxy/RdsPgBouncerIntegrationTest.java b/src/test/java/io/github/hectorvent/floci/services/rds/proxy/RdsPgBouncerIntegrationTest.java index 5432c1b5b9..77f2d9f6d4 100644 --- a/src/test/java/io/github/hectorvent/floci/services/rds/proxy/RdsPgBouncerIntegrationTest.java +++ b/src/test/java/io/github/hectorvent/floci/services/rds/proxy/RdsPgBouncerIntegrationTest.java @@ -45,12 +45,13 @@ class RdsPgBouncerIntegrationTest { @Inject ContainerLogStreamer logs; @BeforeEach - void requireDocker() { + void requireDocker() throws ClassNotFoundException { try { docker.pingCmd().exec(); } catch (Exception e) { assumeTrue(false, "Docker is not available: " + e.getMessage()); } + Class.forName("org.postgresql.Driver"); } @ParameterizedTest