HBASE-7729 TestCatalogTrackerOnCluster.testbadOriginalRootLocation fails occasionally

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1441238 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
larsh 2013-01-31 22:43:44 +00:00
parent 5b665ad594
commit 2ade85d0b8
1 changed files with 3 additions and 0 deletions

View File

@ -46,6 +46,9 @@ public class TestCatalogTrackerOnCluster {
UTIL.startMiniCluster();
// Shutdown hbase.
UTIL.shutdownMiniHBaseCluster();
// Give the various ZKWatchers some time to settle their affairs.
Thread.sleep(1000);
// Mess with the root location in the running zk. Set it to be nonsense.
ZooKeeperWatcher zookeeper = new ZooKeeperWatcher(UTIL.getConfiguration(),
"Bad Root Location Writer", new Abortable() {