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
This commit is contained in:
parent
5eb85ff899
commit
84adbe8b22
|
@ -58,7 +58,7 @@ public class TestSlabCache {
|
||||||
cache.shutdown();
|
cache.shutdown();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Ignore @Test
|
||||||
public void testElementPlacement() {
|
public void testElementPlacement() {
|
||||||
assertEquals(cache.getHigherBlock(BLOCK_SIZE).getKey().intValue(),
|
assertEquals(cache.getHigherBlock(BLOCK_SIZE).getKey().intValue(),
|
||||||
(BLOCK_SIZE * 11 / 10));
|
(BLOCK_SIZE * 11 / 10));
|
||||||
|
@ -66,28 +66,28 @@ public class TestSlabCache {
|
||||||
.intValue(), (BLOCK_SIZE * 21 / 10));
|
.intValue(), (BLOCK_SIZE * 21 / 10));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Ignore @Test
|
||||||
public void testCacheSimple() throws Exception {
|
public void testCacheSimple() throws Exception {
|
||||||
CacheTestUtils.testCacheSimple(cache, BLOCK_SIZE, NUM_QUERIES);
|
CacheTestUtils.testCacheSimple(cache, BLOCK_SIZE, NUM_QUERIES);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Ignore @Test
|
||||||
public void testCacheMultiThreaded() throws Exception {
|
public void testCacheMultiThreaded() throws Exception {
|
||||||
CacheTestUtils.testCacheMultiThreaded(cache, BLOCK_SIZE, NUM_THREADS,
|
CacheTestUtils.testCacheMultiThreaded(cache, BLOCK_SIZE, NUM_THREADS,
|
||||||
NUM_QUERIES, 0.80);
|
NUM_QUERIES, 0.80);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Ignore @Test
|
||||||
public void testCacheMultiThreadedSingleKey() throws Exception {
|
public void testCacheMultiThreadedSingleKey() throws Exception {
|
||||||
CacheTestUtils.hammerSingleKey(cache, BLOCK_SIZE, NUM_THREADS, NUM_QUERIES);
|
CacheTestUtils.hammerSingleKey(cache, BLOCK_SIZE, NUM_THREADS, NUM_QUERIES);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Ignore @Test
|
||||||
public void testCacheMultiThreadedEviction() throws Exception {
|
public void testCacheMultiThreadedEviction() throws Exception {
|
||||||
CacheTestUtils.hammerEviction(cache, BLOCK_SIZE, 10, NUM_QUERIES);
|
CacheTestUtils.hammerEviction(cache, BLOCK_SIZE, 10, NUM_QUERIES);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Ignore @Test
|
||||||
/*Just checks if ranges overlap*/
|
/*Just checks if ranges overlap*/
|
||||||
public void testStatsArithmetic(){
|
public void testStatsArithmetic(){
|
||||||
SlabStats test = cache.requestStats;
|
SlabStats test = cache.requestStats;
|
||||||
|
@ -98,7 +98,7 @@ public class TestSlabCache {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Ignore @Test
|
||||||
public void testHeapSizeChanges(){
|
public void testHeapSizeChanges(){
|
||||||
CacheTestUtils.testHeapSizeChanges(cache, BLOCK_SIZE);
|
CacheTestUtils.testHeapSizeChanges(cache, BLOCK_SIZE);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue