From fb4b32e5b7d93ff41c82344e89d68df6e7474dd2 Mon Sep 17 00:00:00 2001 From: Zoltan Haindrich Date: Wed, 29 May 2024 16:10:38 +0000 Subject: [PATCH] updates --- .../org/apache/druid/quidem/Launcher.java | 3 ++ quidem-it/pom.xml | 19 +++++++--- .../org/apache/druid/quidem/Launcher.java | 3 +- quidem-it/src/main/resources/log4j2.xml | 35 +++++++++++++++++++ 4 files changed, 55 insertions(+), 5 deletions(-) create mode 100644 quidem-it/src/main/resources/log4j2.xml diff --git a/integration-tests/src/main/java/org/apache/druid/quidem/Launcher.java b/integration-tests/src/main/java/org/apache/druid/quidem/Launcher.java index f797d92789f..2bdfa2aa038 100644 --- a/integration-tests/src/main/java/org/apache/druid/quidem/Launcher.java +++ b/integration-tests/src/main/java/org/apache/druid/quidem/Launcher.java @@ -57,6 +57,9 @@ public class Launcher public static void main(String[] args) throws Exception { + if(true) { + throw new RuntimeException("Asd"); + } String quidemUri = System.getProperty(QUIDEM_URI, "druidtest:///"); Launcher launcher = new Launcher(quidemUri ); diff --git a/quidem-it/pom.xml b/quidem-it/pom.xml index 71c19a3adcd..8a2427fc313 100644 --- a/quidem-it/pom.xml +++ b/quidem-it/pom.xml @@ -421,6 +421,12 @@ ${project.parent.version} + + org.slf4j + slf4j-simple + true + + org.easymock easymock @@ -432,7 +438,6 @@ org.junit.jupiter junit-jupiter - test org.junit.vintage @@ -442,17 +447,14 @@ junit junit - test org.apache.calcite.avatica avatica - test org.apache.calcite.avatica avatica-core - test com.github.os72 @@ -471,6 +473,15 @@ datasketches-java runtime + + org.hamcrest + hamcrest-all + + + org.hamcrest + hamcrest-core + + diff --git a/quidem-it/src/main/java/org/apache/druid/quidem/Launcher.java b/quidem-it/src/main/java/org/apache/druid/quidem/Launcher.java index f797d92789f..36d276571b2 100644 --- a/quidem-it/src/main/java/org/apache/druid/quidem/Launcher.java +++ b/quidem-it/src/main/java/org/apache/druid/quidem/Launcher.java @@ -58,8 +58,9 @@ public class Launcher public static void main(String[] args) throws Exception { String quidemUri = System.getProperty(QUIDEM_URI, "druidtest:///"); + log.info("Starting Quidem with URI[%s]", quidemUri); - Launcher launcher = new Launcher(quidemUri ); + Launcher launcher = new Launcher(quidemUri); launcher.start(); launcher.lifecycle.join(); } diff --git a/quidem-it/src/main/resources/log4j2.xml b/quidem-it/src/main/resources/log4j2.xml new file mode 100644 index 00000000000..03d56b21400 --- /dev/null +++ b/quidem-it/src/main/resources/log4j2.xml @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + +