From c78806b134ecef5edb8c68cd680a5bbf17abc59f Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Fri, 16 Oct 2009 04:47:42 +0000 Subject: [PATCH] HBASE-410 [testing] Speed up the test suite; Moved TestHBaseCluster, TestMasterAdmin and TestForceSplit into TestAdmin git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@825766 13f79535-47bb-0310-9956-ffa450edef68 --- src/test/org/apache/hadoop/hbase/TestZooKeeper.java | 5 +---- .../hadoop/hbase/master/TestRegionManager.java | 12 ------------ 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/src/test/org/apache/hadoop/hbase/TestZooKeeper.java b/src/test/org/apache/hadoop/hbase/TestZooKeeper.java index 230fa18a1fc..96ec94a9826 100644 --- a/src/test/org/apache/hadoop/hbase/TestZooKeeper.java +++ b/src/test/org/apache/hadoop/hbase/TestZooKeeper.java @@ -35,9 +35,6 @@ import org.apache.zookeeper.WatchedEvent; import org.apache.zookeeper.Watcher; import org.apache.zookeeper.ZooKeeper; -/** - * - */ public class TestZooKeeper extends HBaseClusterTestCase { private static class EmptyWatcher implements Watcher { public static EmptyWatcher instance = new EmptyWatcher(); @@ -175,4 +172,4 @@ public class TestZooKeeper extends HBaseClusterTestCase { fail(); } } -} +} \ No newline at end of file diff --git a/src/test/org/apache/hadoop/hbase/master/TestRegionManager.java b/src/test/org/apache/hadoop/hbase/master/TestRegionManager.java index af965905f80..f28e4ab4c24 100644 --- a/src/test/org/apache/hadoop/hbase/master/TestRegionManager.java +++ b/src/test/org/apache/hadoop/hbase/master/TestRegionManager.java @@ -1,24 +1,12 @@ package org.apache.hadoop.hbase.master; -import java.io.IOException; -import java.util.Map; - import org.apache.hadoop.hbase.HBaseClusterTestCase; -import org.apache.hadoop.hbase.HBaseConfiguration; -import org.apache.hadoop.hbase.HBaseTestCase; -import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HConstants; import org.apache.hadoop.hbase.HRegionInfo; import org.apache.hadoop.hbase.HServerAddress; import org.apache.hadoop.hbase.HTableDescriptor; -import org.apache.hadoop.hbase.client.HBaseAdmin; import org.apache.hadoop.hbase.client.HTable; -import org.apache.hadoop.hbase.client.Put; -import org.apache.hadoop.hbase.master.HMaster; -import org.apache.hadoop.hbase.regionserver.HRegion; import org.apache.hadoop.hbase.util.Bytes; -import org.apache.hadoop.hbase.util.Writables; -import org.apache.hadoop.util.StringUtils; public class TestRegionManager extends HBaseClusterTestCase { public void testGetFirstMetaRegionForRegionAfterMetaSplit()