mirror of https://github.com/apache/druid.git
Merge pull request #1585 from guobingkun/fix_transient_error
Fix transient error in BrokerServerViewTest
This commit is contained in:
commit
5790367f6a
|
@ -358,8 +358,6 @@ public class BrokerServerViewTest extends CuratorTestBase
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
baseView.start();
|
|
||||||
|
|
||||||
brokerServerView = new BrokerServerView(
|
brokerServerView = new BrokerServerView(
|
||||||
EasyMock.createMock(QueryToolChestWarehouse.class),
|
EasyMock.createMock(QueryToolChestWarehouse.class),
|
||||||
EasyMock.createMock(QueryWatcher.class),
|
EasyMock.createMock(QueryWatcher.class),
|
||||||
|
@ -369,6 +367,8 @@ public class BrokerServerViewTest extends CuratorTestBase
|
||||||
new HighestPriorityTierSelectorStrategy(new RandomServerSelectorStrategy()),
|
new HighestPriorityTierSelectorStrategy(new RandomServerSelectorStrategy()),
|
||||||
new NoopServiceEmitter()
|
new NoopServiceEmitter()
|
||||||
);
|
);
|
||||||
|
|
||||||
|
baseView.start();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void setupZNodeForServer(DruidServer server) throws Exception
|
private void setupZNodeForServer(DruidServer server) throws Exception
|
||||||
|
|
Loading…
Reference in New Issue