mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
test(redshift): initialize JDBC drivers before runtime fixtures (#7782)
This commit is contained in:
1 parent
2b3f316bca
commit
c1599bd03f
4 files changed
+8
-4
No files matched your search
@@ -95,8 +95,9 @@ class RedshiftSpectrumIntegrationTest {
|
||||
private boolean roleCreated;
|
||||
|
||||
@BeforeAll
|
||||
static void requireDocker() {
|
||||
static void requireDocker() throws ClassNotFoundException {
|
||||
SidecarContainersProfile.requireDocker();
|
||||
Class.forName("org.postgresql.Driver");
|
||||
}
|
||||
|
||||
private Cluster createClusterWithRole(String identifier) {
|
||||
|
||||
+2
-1
@@ -66,8 +66,9 @@ class RedshiftSpectrumS3AuthEnforcedIntegrationTest {
|
||||
private String glueDatabase;
|
||||
|
||||
@BeforeAll
|
||||
static void requireDocker() {
|
||||
static void requireDocker() throws ClassNotFoundException {
|
||||
SidecarContainersProfile.requireDocker();
|
||||
Class.forName("org.postgresql.Driver");
|
||||
}
|
||||
|
||||
@AfterEach
|
||||
|
||||
+2
-1
@@ -39,8 +39,9 @@ class RedshiftUnloadParquetIntegrationTest {
|
||||
FlociDuckClient duck;
|
||||
|
||||
@BeforeAll
|
||||
static void requireDocker() {
|
||||
static void requireDocker() throws ClassNotFoundException {
|
||||
SidecarContainersProfile.requireDocker();
|
||||
Class.forName("org.postgresql.Driver");
|
||||
}
|
||||
|
||||
@ParameterizedTest
|
||||
|
||||
+2
-1
@@ -35,8 +35,9 @@ class RedshiftUnloadParquetS3AuthIntegrationTest {
|
||||
IamService iam;
|
||||
|
||||
@BeforeAll
|
||||
static void requireDocker() {
|
||||
static void requireDocker() throws ClassNotFoundException {
|
||||
SidecarContainersProfile.requireDocker();
|
||||
Class.forName("org.postgresql.Driver");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in new issue
Block a user