accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [1/3] accumulo git commit: ACCUMULO-3688 Assume the test case off for standalone tests
Date Fri, 20 Mar 2015 00:39:41 GMT
Repository: accumulo
Updated Branches:
  refs/heads/master b0c759260 -> 9df45b210


ACCUMULO-3688 Assume the test case off for standalone tests


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/b43d29ac
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/b43d29ac
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/b43d29ac

Branch: refs/heads/master
Commit: b43d29ac94177f8c455ae32f7234cda17e9dd8ad
Parents: b0c7592
Author: Josh Elser <elserj@apache.org>
Authored: Thu Mar 19 18:52:10 2015 -0400
Committer: Josh Elser <elserj@apache.org>
Committed: Thu Mar 19 18:52:10 2015 -0400

----------------------------------------------------------------------
 .../java/org/apache/accumulo/test/UserCompactionStrategyIT.java  | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/b43d29ac/test/src/test/java/org/apache/accumulo/test/UserCompactionStrategyIT.java
----------------------------------------------------------------------
diff --git a/test/src/test/java/org/apache/accumulo/test/UserCompactionStrategyIT.java b/test/src/test/java/org/apache/accumulo/test/UserCompactionStrategyIT.java
index e6e766f..fd21cd3 100644
--- a/test/src/test/java/org/apache/accumulo/test/UserCompactionStrategyIT.java
+++ b/test/src/test/java/org/apache/accumulo/test/UserCompactionStrategyIT.java
@@ -45,6 +45,7 @@ import org.apache.accumulo.test.functional.FunctionalTestUtils;
 import org.apache.accumulo.test.functional.SlowIterator;
 import org.apache.hadoop.io.Text;
 import org.junit.Assert;
+import org.junit.Assume;
 import org.junit.Test;
 
 import com.google.common.collect.ImmutableMap;
@@ -120,6 +121,9 @@ public class UserCompactionStrategyIT extends AccumuloClusterIT {
 
   @Test
   public void testPerTableClasspath() throws Exception {
+    // Can't assume that a test-resource will be on the server's classpath
+    Assume.assumeTrue(ClusterType.MINI == getClusterType());
+
     // test pertable classpath + user specified compaction strat
 
     final Connector c = getConnector();


Mime
View raw message