(TEPHRA-285) Exclude failing test from Travis build until fix is available in HBase
This closes #71 from Github.
Signed-off-by: anew <anew@apache.org>
diff --git a/.travis.yml b/.travis.yml
index f5a06b8..0daa591 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -39,10 +39,17 @@
- OPTIONS='-am -DskipCoreTests -pl tephra-hbase-compat-1.4,tephra-examples/hbase-1.4'
- OPTIONS='-am -DskipCoreTests -pl tephra-hbase-compat-2.0,tephra-examples/hbase-2.0'
+# exclude hbase-2.0 for jdk7;
+# exclude hbase-1.4 for jdk7; then include it with an extra excluded test to work around TEPHRA-285
matrix:
exclude:
- jdk: oraclejdk7
env: OPTIONS='-am -DskipCoreTests -pl tephra-hbase-compat-2.0,tephra-examples/hbase-2.0'
+ - jdk: oraclejdk7
+ env: OPTIONS='-am -DskipCoreTests -pl tephra-hbase-compat-1.4,tephra-examples/hbase-1.4'
+ include:
+ - jdk: oraclejdk7
+ env: OPTIONS='-am -DskipCoreTests -DtestExcludes=org/apache/tephra/hbase/coprocessor/TransactionProcessorTest.java -pl tephra-hbase-compat-1.4,tephra-examples/hbase-1.4'
branches:
only:
diff --git a/pom.xml b/pom.xml
index 0975b92..98834a1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -418,6 +418,7 @@
</includes>
<excludes>
<exclude>**/*TestRun.java</exclude>
+ <exclude>${testExcludes}</exclude>
</excludes>
</configuration>
</plugin>