diff --git a/extensions-core/multi-stage-query/src/test/java/org/apache/druid/msq/test/CalciteSelectJoinQueryMSQTest.java b/extensions-core/multi-stage-query/src/test/java/org/apache/druid/msq/test/CalciteSelectJoinQueryMSQTest.java index e5fbbc3bccc..effab872ca8 100644 --- a/extensions-core/multi-stage-query/src/test/java/org/apache/druid/msq/test/CalciteSelectJoinQueryMSQTest.java +++ b/extensions-core/multi-stage-query/src/test/java/org/apache/druid/msq/test/CalciteSelectJoinQueryMSQTest.java @@ -33,7 +33,7 @@ import org.junit.jupiter.params.provider.MethodSource; import java.util.Map; -import static org.junit.Assume.assumeTrue; +import static org.junit.jupiter.api.Assumptions.assumeTrue; /** * Runs {@link CalciteJoinQueryTest} but with MSQ engine. @@ -90,7 +90,7 @@ public class CalciteSelectJoinQueryMSQTest @ParameterizedTest(name = "{0}") public void testRegressionFilteredAggregatorsSubqueryJoins(Map queryContext) { - assumeTrue("Returns incorrect result with replaceWithDefault", NullHandling.sqlCompatible()); + assumeTrue(NullHandling.sqlCompatible(), "Returns incorrect result with replaceWithDefault"); super.testRegressionFilteredAggregatorsSubqueryJoins(queryContext); } @@ -99,7 +99,7 @@ public class CalciteSelectJoinQueryMSQTest @ParameterizedTest(name = "{0}") public void testFilterAndGroupByLookupUsingJoinOperatorWithNotFilter(Map queryContext) { - assumeTrue("Returns incorrect result with replaceWithDefault", NullHandling.sqlCompatible()); + assumeTrue(NullHandling.sqlCompatible(), "Returns incorrect result with replaceWithDefault"); super.testFilterAndGroupByLookupUsingJoinOperatorWithNotFilter(queryContext); } }