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
This commit is contained in:
Michael Stack 2011-09-18 17:56:02 +00:00
parent 4402b04c3c
commit cadd288c29
2 changed files with 12 additions and 12 deletions

View File

@ -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);
}

View File

@ -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);
}