hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject git commit: HBASE-11593 TestCacheConfig failing consistently in precommit builds
Date Mon, 28 Jul 2014 19:46:17 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 6f60f2171 -> 5accd1a37


HBASE-11593 TestCacheConfig failing consistently in precommit builds


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

Branch: refs/heads/branch-1
Commit: 5accd1a37e2577890541198b1b12dae83a2f1197
Parents: 6f60f21
Author: stack <stack@apache.org>
Authored: Mon Jul 28 12:45:26 2014 -0700
Committer: stack <stack@apache.org>
Committed: Mon Jul 28 12:46:05 2014 -0700

----------------------------------------------------------------------
 .../org/apache/hadoop/hbase/io/hfile/TestCacheConfig.java    | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/5accd1a3/hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestCacheConfig.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestCacheConfig.java
b/hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestCacheConfig.java
index 156bfc1..be86abb 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestCacheConfig.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestCacheConfig.java
@@ -35,7 +35,7 @@ import org.apache.hadoop.fs.Path;
 import org.apache.hadoop.hbase.HBaseConfiguration;
 import org.apache.hadoop.hbase.HBaseTestingUtility;
 import org.apache.hadoop.hbase.HConstants;
-import org.apache.hadoop.hbase.SmallTests;
+import org.apache.hadoop.hbase.LargeTests;
 import org.apache.hadoop.hbase.io.hfile.bucket.BucketCache;
 import org.apache.hadoop.hbase.util.Threads;
 import org.junit.After;
@@ -46,7 +46,11 @@ import org.junit.experimental.categories.Category;
 /**
  * Tests that {@link CacheConfig} does as expected.
  */
-@Category(SmallTests.class)
+// This test is marked as a large test though it runs in a short amount of time
+// (seconds).  It is large because it depends on being able to reset the global
+// blockcache instance which is in a global variable.  Experience has it that
+// tests clash on the global variable if this test is run as small sized test.
+@Category(LargeTests.class)
 public class TestCacheConfig {
   private static final Log LOG = LogFactory.getLog(TestCacheConfig.class);
   private Configuration conf;


Mime
View raw message