HBASE-9146 TestHTablePool hangs when run as part of runMediumTests profile (Rajesh Venkatachalam)

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1513302 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
larsh 2013-08-12 23:57:58 +00:00
parent 7d49b07b9c
commit 5f0503ca2f
1 changed files with 11 additions and 13 deletions

View File

@ -20,9 +20,6 @@ package org.apache.hadoop.hbase.client;
import java.io.IOException;
import junit.framework.Assert;
import junit.framework.TestCase;
import org.apache.hadoop.hbase.*;
import org.apache.hadoop.hbase.util.Bytes;
import org.apache.hadoop.hbase.util.PoolMap.PoolType;
@ -41,6 +38,8 @@ public class TestHTablePool {
private static HBaseTestingUtility TEST_UTIL = new HBaseTestingUtility();
private final static byte[] TABLENAME = Bytes.toBytes("TestHTablePool");
public abstract static class TestHTablePoolType {
@BeforeClass
public static void setUpBeforeClass() throws Exception {
TEST_UTIL.startMiniCluster(1);
@ -52,7 +51,6 @@ public class TestHTablePool {
TEST_UTIL.shutdownMiniCluster();
}
public abstract static class TestHTablePoolType extends TestCase {
protected abstract PoolType getPoolType();
@Test