From cadd288c29062b8885486f6b337010ab8af21a9d Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Sun, 18 Sep 2011 17:56:02 +0000 Subject: [PATCH] HBASE-4430 Disable TestSlabCache and TestSingleSizedCache temporarily to see if these are cause of build box failure though all tests pass git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1172308 13f79535-47bb-0310-9956-ffa450edef68 --- .../hbase/io/hfile/slab/TestSingleSizeCache.java | 10 +++++----- .../hadoop/hbase/io/hfile/slab/TestSlabCache.java | 14 +++++++------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/test/java/org/apache/hadoop/hbase/io/hfile/slab/TestSingleSizeCache.java b/src/test/java/org/apache/hadoop/hbase/io/hfile/slab/TestSingleSizeCache.java index 124ad72e378..e0217805f41 100644 --- a/src/test/java/org/apache/hadoop/hbase/io/hfile/slab/TestSingleSizeCache.java +++ b/src/test/java/org/apache/hadoop/hbase/io/hfile/slab/TestSingleSizeCache.java @@ -48,28 +48,28 @@ public class TestSingleSizeCache { cache.shutdown(); } - @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, NUM_THREADS, NUM_QUERIES); } - @Test + @Ignore @Test public void testHeapSizeChanges(){ CacheTestUtils.testHeapSizeChanges(cache, BLOCK_SIZE); } 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 cf02c2b3314..cfe526629f0 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((int) BLOCK_SIZE).getKey().intValue(), (int) (BLOCK_SIZE * 11 / 10)); @@ -66,28 +66,28 @@ public class TestSlabCache { .intValue(), (int) (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); }