fix transient error in BrokerServerViewTest

This commit is contained in:
Bingkun Guo 2015-07-31 13:33:55 -05:00
parent f4567c995c
commit 479b09c2dd
1 changed files with 2 additions and 2 deletions

View File

@ -358,8 +358,6 @@ public class BrokerServerViewTest extends CuratorTestBase
}
};
baseView.start();
brokerServerView = new BrokerServerView(
EasyMock.createMock(QueryToolChestWarehouse.class),
EasyMock.createMock(QueryWatcher.class),
@ -369,6 +367,8 @@ public class BrokerServerViewTest extends CuratorTestBase
new HighestPriorityTierSelectorStrategy(new RandomServerSelectorStrategy()),
new NoopServiceEmitter()
);
baseView.start();
}
private void setupZNodeForServer(DruidServer server) throws Exception