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
|
@ -863,8 +863,11 @@ public class TestAssignmentManager {
|
|||
gate.get());
|
||||
// need to change table state from disabling to disabled.
|
||||
assertTrue("Table should be disabled.",
|
||||
am.getZKTable().isDisabledTable(REGIONINFO.getTableNameAsString()));
|
||||
am.getZKTable().isDisabledTable(REGIONINFO.getTableNameAsString()));
|
||||
} finally {
|
||||
this.server.getConfiguration().setClass(
|
||||
HConstants.HBASE_MASTER_LOADBALANCER_CLASS, DefaultLoadBalancer.class,
|
||||
LoadBalancer.class);
|
||||
am.getZKTable().setEnabledTable(REGIONINFO.getTableNameAsString());
|
||||
am.shutdown();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue