diff options
author | Vitalii Diravka <vitalii.diravka@gmail.com> | 2018-12-07 19:44:47 +0200 |
---|---|---|
committer | Vitalii Diravka <vitalii.diravka@gmail.com> | 2018-12-10 14:47:27 +0200 |
commit | e67ac2d1f7111a8e3932e2ff69a531b64882e162 (patch) | |
tree | fca2eb4e8a1bccf9cebaec9f721a9340a6689d8f /exec/java-exec/src/test/java/org/apache/drill/exec | |
parent | 788eb7effe72d838427d42fabbf167fa424bf88c (diff) |
DRILL-6889: Exclude Drill unit tests to avoid Travis timing out
closes #1567
Diffstat (limited to 'exec/java-exec/src/test/java/org/apache/drill/exec')
5 files changed, 14 insertions, 1 deletions
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/TestWindowFunctions.java b/exec/java-exec/src/test/java/org/apache/drill/exec/TestWindowFunctions.java index fc2f63957..1acb8fbe8 100644 --- a/exec/java-exec/src/test/java/org/apache/drill/exec/TestWindowFunctions.java +++ b/exec/java-exec/src/test/java/org/apache/drill/exec/TestWindowFunctions.java @@ -543,6 +543,7 @@ public class TestWindowFunctions extends BaseTestQuery { } @Test + @Category(UnlikelyTest.class) public void testRankWithGroupBy() throws Exception { final String query = "select dense_rank() over (order by l_suppkey) as rank1 " + " from cp.`tpch/lineitem.parquet` group by l_partkey, l_suppkey order by 1 desc limit 1"; @@ -792,6 +793,7 @@ public class TestWindowFunctions extends BaseTestQuery { } @Test // DRILL-3679, DRILL-3680 + @Category(UnlikelyTest.class) public void testWindowFunInNestSubQ() throws Exception { final String query = " select n_nationkey , n_regionkey , " + @@ -855,6 +857,7 @@ public class TestWindowFunctions extends BaseTestQuery { } @Test // DRILL-2330 + @Category(UnlikelyTest.class) public void testNestedAggregates() throws Exception { final String query = "select sum(min(l_extendedprice))" diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/join/TestMergeJoinAdvanced.java b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/join/TestMergeJoinAdvanced.java index d8bdea952..2ae0aa66f 100644 --- a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/join/TestMergeJoinAdvanced.java +++ b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/join/TestMergeJoinAdvanced.java @@ -17,6 +17,7 @@ */ package org.apache.drill.exec.physical.impl.join; +import org.apache.drill.categories.UnlikelyTest; import org.apache.drill.common.exceptions.UserRemoteException; import org.apache.drill.test.TestTools; import org.apache.drill.categories.OperatorTest; @@ -75,6 +76,7 @@ public class TestMergeJoinAdvanced extends JoinTestBase { } @Test + @Category({UnlikelyTest.class}) public void testJoinWithDifferentTypesInCondition() throws Exception { String query = "select count(*) col1 from " + "(select t1.date_opt from cp.`parquet/date_dictionary.parquet` t1, cp.`parquet/timestamp_table.parquet` t2 " + @@ -180,6 +182,7 @@ public class TestMergeJoinAdvanced extends JoinTestBase { } @Test + @Category({UnlikelyTest.class}) public void testMergeLeftJoinLargeLeft() throws Exception { testMultipleBatchJoin(5000L, 1000L, "left", 5000L * 1000L + 2L); } @@ -218,6 +221,7 @@ public class TestMergeJoinAdvanced extends JoinTestBase { } @Test + @Category({UnlikelyTest.class}) public void testDrill4165() throws Exception { final String query = "select count(*) cnt from cp.`tpch/lineitem.parquet` l1, cp.`tpch/lineitem.parquet` l2 " + "where l1.l_partkey = l2.l_partkey and l1.l_suppkey < 30 and l2.l_suppkey < 30"; @@ -292,6 +296,7 @@ public class TestMergeJoinAdvanced extends JoinTestBase { } @Test // DRILL-6491 + @Category({UnlikelyTest.class}) public void testFullJoinIsNotSupported() throws Exception { thrown.expect(UserRemoteException.class); thrown.expectMessage(CoreMatchers.containsString("SYSTEM ERROR: CannotPlanException")); diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/mergereceiver/TestMergingReceiver.java b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/mergereceiver/TestMergingReceiver.java index 4c6811fb6..3de912de7 100644 --- a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/mergereceiver/TestMergingReceiver.java +++ b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/mergereceiver/TestMergingReceiver.java @@ -23,6 +23,7 @@ import static org.junit.Assert.assertTrue; import java.util.List; import org.apache.drill.categories.OperatorTest; +import org.apache.drill.categories.SlowTest; import org.apache.drill.common.util.DrillFileUtils; import org.apache.drill.exec.client.DrillClient; import org.apache.drill.exec.pop.PopUnitTestBase; @@ -40,7 +41,7 @@ import org.apache.drill.shaded.guava.com.google.common.base.Charsets; import org.apache.drill.shaded.guava.com.google.common.io.Files; import org.junit.experimental.categories.Category; -@Category(OperatorTest.class) +@Category({OperatorTest.class, SlowTest.class}) public class TestMergingReceiver extends PopUnitTestBase { // private static final org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(TestMergingReceiver.class); diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/window/TestWindowFrame.java b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/window/TestWindowFrame.java index a9c147b58..a015ff7d0 100644 --- a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/window/TestWindowFrame.java +++ b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/window/TestWindowFrame.java @@ -283,6 +283,7 @@ public class TestWindowFrame extends BaseTestQuery { } @Test + @Category(UnlikelyTest.class) public void testLeadWithPby() throws Exception { testBuilder() .sqlQuery(getFile("window/lead.pby.oby.sql")) diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/store/parquet/TestParquetMetadataCache.java b/exec/java-exec/src/test/java/org/apache/drill/exec/store/parquet/TestParquetMetadataCache.java index e80497a6c..bf075d803 100644 --- a/exec/java-exec/src/test/java/org/apache/drill/exec/store/parquet/TestParquetMetadataCache.java +++ b/exec/java-exec/src/test/java/org/apache/drill/exec/store/parquet/TestParquetMetadataCache.java @@ -176,6 +176,7 @@ public class TestParquetMetadataCache extends PlanTestBase { } @Test + @Category(UnlikelyTest.class) public void testFix4449() throws Exception { runSQL("CREATE TABLE dfs.tmp.`4449` PARTITION BY(l_discount) AS SELECT l_orderkey, l_discount FROM cp.`tpch/lineitem.parquet`"); runSQL("REFRESH TABLE METADATA dfs.tmp.`4449`"); @@ -642,6 +643,7 @@ public class TestParquetMetadataCache extends PlanTestBase { } @Test + @Category(UnlikelyTest.class) public void testInnerMetadataFilesAreAbsent() throws Exception { final String innerMetaCorruptedTable = "inner_meta_corrupted_table"; File dataDir = dirTestWatcher.copyResourceToRoot( @@ -814,6 +816,7 @@ public class TestParquetMetadataCache extends PlanTestBase { } @Test // DRILL-4139 + @Category(UnlikelyTest.class) public void testPartitionPruningWithIsNull() throws Exception { try { test("create table dfs.tmp.`t6/a` as\n" + |