From 6e48cb86d5b6ae107bce9f5ad80bf79ec074025a Mon Sep 17 00:00:00 2001 From: Zoltan Haindrich Date: Thu, 20 Jun 2024 14:41:45 +0000 Subject: [PATCH] move annotation --- .../java/org/apache/druid/quidem/DruidQuidemTestBase.java | 2 ++ sql/src/test/java/org/apache/druid/quidem/SqlQuidemTest.java | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/sql/src/test/java/org/apache/druid/quidem/DruidQuidemTestBase.java b/sql/src/test/java/org/apache/druid/quidem/DruidQuidemTestBase.java index 2a57e5fb856..650af0880f9 100644 --- a/sql/src/test/java/org/apache/druid/quidem/DruidQuidemTestBase.java +++ b/sql/src/test/java/org/apache/druid/quidem/DruidQuidemTestBase.java @@ -36,6 +36,7 @@ import org.apache.druid.java.util.common.RE; import org.apache.druid.java.util.common.StringUtils; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.TestInstance; +import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; @@ -77,6 +78,7 @@ import static org.junit.jupiter.api.Assertions.fail; * */ @TestInstance(TestInstance.Lifecycle.PER_CLASS) +@ExtendWith(EnabledOnlyInSqlCompatibleMode.class) public abstract class DruidQuidemTestBase { static { diff --git a/sql/src/test/java/org/apache/druid/quidem/SqlQuidemTest.java b/sql/src/test/java/org/apache/druid/quidem/SqlQuidemTest.java index 786dcfd772d..9e6a965891c 100644 --- a/sql/src/test/java/org/apache/druid/quidem/SqlQuidemTest.java +++ b/sql/src/test/java/org/apache/druid/quidem/SqlQuidemTest.java @@ -19,12 +19,8 @@ package org.apache.druid.quidem; -import org.junit.jupiter.api.extension.ExtendWith; - import java.io.File; -//@EnabledIf(value = "enabled", disabledReason = "These tests are only run in SqlCompatible mode!") -@ExtendWith(EnabledOnlyInSqlCompatibleMode.class) public class SqlQuidemTest extends DruidQuidemTestBase { public SqlQuidemTest()