diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index f89fedbc..d129907f 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -27,7 +27,7 @@ postgresqlVersion = "42.6.0" sqliteJdbcVersion = "3.43.0.0" derbyVersion = "10.13.1.1" oracleVersion = "19.3.0.0" -duckdbVersion = "0.9.2" +duckdbVersion = "1.1.3" junitVersion = "5.10.3" junitTestContainersVersion = "1.19.8" mockFtpServerVersion = "2.7.1" diff --git a/gretl/src/integrationTest/java/ch/so/agi/gretl/jobs/SqlExecutorTaskDuckDbTest.java b/gretl/src/integrationTest/java/ch/so/agi/gretl/jobs/SqlExecutorTaskDuckDbTest.java index 6167fb30..b6f03f9b 100644 --- a/gretl/src/integrationTest/java/ch/so/agi/gretl/jobs/SqlExecutorTaskDuckDbTest.java +++ b/gretl/src/integrationTest/java/ch/so/agi/gretl/jobs/SqlExecutorTaskDuckDbTest.java @@ -14,21 +14,18 @@ public class SqlExecutorTaskDuckDbTest { - // DB-File erstellen. - // Tabelle erstellen und Werte inserten - // Parquet-Datei importieren - // GPKG importieren @Test public void multipleStuff_Ok() throws Exception { + // Prepare File projectDirectory = new File(System.getProperty("user.dir") + "/src/integrationTest/jobs/SqlExecutorTaskDuckDb"); String dbName = "foo.duckdb"; Path pathToDatabase = Paths.get(projectDirectory.getPath(), dbName); - // Prepare if (Files.exists(pathToDatabase)) { Files.delete(pathToDatabase); } + // Execute task IntegrationTestUtil.executeTestRunner(projectDirectory); // Check result