From 84adbe8b22262d100871619fc5a0689466f4489c Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Sun, 9 Oct 2011 05:08:25 +0000 Subject: [PATCH] HBASE-4430 Disable TestSlabCache and TestSingleSizedCache temporarily to see if these are cause of build box failure though all tests pass -- DISABLED TESTSLABCACHE AGAIN... its hanging git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1180546 13f79535-47bb-0310-9956-ffa450edef68 --- .../hadoop/hbase/io/hfile/slab/TestSlabCache.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/test/java/org/apache/hadoop/hbase/io/hfile/slab/TestSlabCache.java b/src/test/java/org/apache/hadoop/hbase/io/hfile/slab/TestSlabCache.java index 37b7302d75b..14e86541604 100644 --- a/src/test/java/org/apache/hadoop/hbase/io/hfile/slab/TestSlabCache.java +++ b/src/test/java/org/apache/hadoop/hbase/io/hfile/slab/TestSlabCache.java @@ -58,7 +58,7 @@ public class TestSlabCache { cache.shutdown(); } - @Test + @Ignore @Test public void testElementPlacement() { assertEquals(cache.getHigherBlock(BLOCK_SIZE).getKey().intValue(), (BLOCK_SIZE * 11 / 10)); @@ -66,28 +66,28 @@ public class TestSlabCache { .intValue(), (BLOCK_SIZE * 21 / 10)); } - @Test + @Ignore @Test public void testCacheSimple() throws Exception { CacheTestUtils.testCacheSimple(cache, BLOCK_SIZE, NUM_QUERIES); } - @Test + @Ignore @Test public void testCacheMultiThreaded() throws Exception { CacheTestUtils.testCacheMultiThreaded(cache, BLOCK_SIZE, NUM_THREADS, NUM_QUERIES, 0.80); } - @Test + @Ignore @Test public void testCacheMultiThreadedSingleKey() throws Exception { CacheTestUtils.hammerSingleKey(cache, BLOCK_SIZE, NUM_THREADS, NUM_QUERIES); } - @Test + @Ignore @Test public void testCacheMultiThreadedEviction() throws Exception { CacheTestUtils.hammerEviction(cache, BLOCK_SIZE, 10, NUM_QUERIES); } - @Test + @Ignore @Test /*Just checks if ranges overlap*/ public void testStatsArithmetic(){ SlabStats test = cache.requestStats; @@ -98,7 +98,7 @@ public class TestSlabCache { } } - @Test + @Ignore @Test public void testHeapSizeChanges(){ CacheTestUtils.testHeapSizeChanges(cache, BLOCK_SIZE); }