move annotation

This commit is contained in:
Zoltan Haindrich 2024-06-20 14:41:45 +00:00
parent ebb27cf462
commit 6e48cb86d5
2 changed files with 2 additions and 4 deletions

View File

@ -36,6 +36,7 @@ import org.apache.druid.java.util.common.RE;
import org.apache.druid.java.util.common.StringUtils; import org.apache.druid.java.util.common.StringUtils;
import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.TestInstance; import org.junit.jupiter.api.TestInstance;
import org.junit.jupiter.api.extension.ExtendWith;
import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.MethodSource; import org.junit.jupiter.params.provider.MethodSource;
@ -77,6 +78,7 @@ import static org.junit.jupiter.api.Assertions.fail;
* *
*/ */
@TestInstance(TestInstance.Lifecycle.PER_CLASS) @TestInstance(TestInstance.Lifecycle.PER_CLASS)
@ExtendWith(EnabledOnlyInSqlCompatibleMode.class)
public abstract class DruidQuidemTestBase public abstract class DruidQuidemTestBase
{ {
static { static {

View File

@ -19,12 +19,8 @@
package org.apache.druid.quidem; package org.apache.druid.quidem;
import org.junit.jupiter.api.extension.ExtendWith;
import java.io.File; 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 class SqlQuidemTest extends DruidQuidemTestBase
{ {
public SqlQuidemTest() public SqlQuidemTest()