aboutsummaryrefslogtreecommitdiff
path: root/contrib/storage-jdbc/src
diff options
context:
space:
mode:
authorTimothy Farkas <timothyfarkas@apache.org>2017-08-30 12:53:49 -0700
committerPaul Rogers <progers@maprtech.com>2017-10-04 12:53:27 -0700
commit030189f905f13377d0de5fc5a904312c35ef9ed4 (patch)
tree0072c671c4655e90683dd0cf862426959923b4c0 /contrib/storage-jdbc/src
parent9df8102eb18d9718472a1291130345d960435085 (diff)
DRILL-5752 this change includes:
1. Increased test parallelism and fixed associated bugs 2. Added test categories and categorized tests appropriately - Don't exclude anything by default - Increase test timeout - Fixed flakey test closes #940
Diffstat (limited to 'contrib/storage-jdbc/src')
-rw-r--r--contrib/storage-jdbc/src/test/java/org/apache/drill/exec/store/jdbc/TestJdbcPluginWithDerbyIT.java3
-rw-r--r--contrib/storage-jdbc/src/test/java/org/apache/drill/exec/store/jdbc/TestJdbcPluginWithMySQLIT.java4
2 files changed, 6 insertions, 1 deletions
diff --git a/contrib/storage-jdbc/src/test/java/org/apache/drill/exec/store/jdbc/TestJdbcPluginWithDerbyIT.java b/contrib/storage-jdbc/src/test/java/org/apache/drill/exec/store/jdbc/TestJdbcPluginWithDerbyIT.java
index 6d59cfe7c..f74476023 100644
--- a/contrib/storage-jdbc/src/test/java/org/apache/drill/exec/store/jdbc/TestJdbcPluginWithDerbyIT.java
+++ b/contrib/storage-jdbc/src/test/java/org/apache/drill/exec/store/jdbc/TestJdbcPluginWithDerbyIT.java
@@ -17,18 +17,21 @@
*/
package org.apache.drill.exec.store.jdbc;
+import org.apache.drill.categories.JdbcStorageTest;
import org.apache.drill.PlanTestBase;
import org.apache.drill.exec.proto.UserBitShared;
import org.joda.time.DateTime;
import org.junit.Test;
+import org.junit.experimental.categories.Category;
import static org.junit.Assert.assertEquals;
/**
* JDBC storage plugin tests against Derby.
*/
+@Category(JdbcStorageTest.class)
public class TestJdbcPluginWithDerbyIT extends PlanTestBase {
@Test
diff --git a/contrib/storage-jdbc/src/test/java/org/apache/drill/exec/store/jdbc/TestJdbcPluginWithMySQLIT.java b/contrib/storage-jdbc/src/test/java/org/apache/drill/exec/store/jdbc/TestJdbcPluginWithMySQLIT.java
index 34c4c1b2f..00db46b9a 100644
--- a/contrib/storage-jdbc/src/test/java/org/apache/drill/exec/store/jdbc/TestJdbcPluginWithMySQLIT.java
+++ b/contrib/storage-jdbc/src/test/java/org/apache/drill/exec/store/jdbc/TestJdbcPluginWithMySQLIT.java
@@ -17,16 +17,18 @@
*/
package org.apache.drill.exec.store.jdbc;
+import org.apache.drill.categories.JdbcStorageTest;
import org.apache.drill.PlanTestBase;
import org.joda.time.DateTime;
import org.junit.Test;
-
+import org.junit.experimental.categories.Category;
/**
* JDBC storage plugin tests against MySQL.
*/
+@Category(JdbcStorageTest.class)
public class TestJdbcPluginWithMySQLIT extends PlanTestBase {
@Test