HBASE-6958 TestAssignmentManager sometimes fails
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1406699 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3900978ffe
commit
329796cac5
|
@ -865,6 +865,9 @@ public class TestAssignmentManager {
|
||||||
assertTrue("Table should be disabled.",
|
assertTrue("Table should be disabled.",
|
||||||
am.getZKTable().isDisabledTable(REGIONINFO.getTableNameAsString()));
|
am.getZKTable().isDisabledTable(REGIONINFO.getTableNameAsString()));
|
||||||
} finally {
|
} finally {
|
||||||
|
this.server.getConfiguration().setClass(
|
||||||
|
HConstants.HBASE_MASTER_LOADBALANCER_CLASS, DefaultLoadBalancer.class,
|
||||||
|
LoadBalancer.class);
|
||||||
am.getZKTable().setEnabledTable(REGIONINFO.getTableNameAsString());
|
am.getZKTable().setEnabledTable(REGIONINFO.getTableNameAsString());
|
||||||
am.shutdown();
|
am.shutdown();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue