From aaa64832fd0600e88b96284bfcfc935e1dbc6506 Mon Sep 17 00:00:00 2001 From: Zoltan Haindrich Date: Thu, 7 Mar 2024 21:55:48 +0100 Subject: [PATCH] Disable DecoupledPlanningCalciteJoinQueryTest until it gets fixed (#16070) Recently this test started other tests from executing by triggering a bug somewhere in surefire. This patch disables the testcases in case of non-sql compat mode. --- .../sql/calcite/DecoupledPlanningCalciteJoinQueryTest.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sql/src/test/java/org/apache/druid/sql/calcite/DecoupledPlanningCalciteJoinQueryTest.java b/sql/src/test/java/org/apache/druid/sql/calcite/DecoupledPlanningCalciteJoinQueryTest.java index 9787f046be8..05fb6761a41 100644 --- a/sql/src/test/java/org/apache/druid/sql/calcite/DecoupledPlanningCalciteJoinQueryTest.java +++ b/sql/src/test/java/org/apache/druid/sql/calcite/DecoupledPlanningCalciteJoinQueryTest.java @@ -29,6 +29,7 @@ import org.apache.druid.sql.calcite.util.SqlTestFramework; import org.apache.druid.sql.calcite.util.SqlTestFramework.PlannerComponentSupplier; import org.junit.Rule; import org.junit.Test; +import org.junit.rules.TestRule; import java.util.Map; @@ -40,6 +41,9 @@ public class DecoupledPlanningCalciteJoinQueryTest extends CalciteJoinQueryTest @Rule(order = 0) public NotYetSupportedProcessor decoupledIgnoreProcessor = new NotYetSupportedProcessor(); + @Rule + public TestRule sqlCompatOnly = DisableUnless.SQL_COMPATIBLE; + private static final ImmutableMap CONTEXT_OVERRIDES = ImmutableMap.builder() .putAll(BaseCalciteQueryTest.QUERY_CONTEXT_DEFAULT)