From 479b09c2ddc6b27992df25ee1f251a2dd0eb8d12 Mon Sep 17 00:00:00 2001 From: Bingkun Guo Date: Fri, 31 Jul 2015 13:33:55 -0500 Subject: [PATCH] fix transient error in BrokerServerViewTest --- .../src/test/java/io/druid/client/BrokerServerViewTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/test/java/io/druid/client/BrokerServerViewTest.java b/server/src/test/java/io/druid/client/BrokerServerViewTest.java index 6b22361d568..c178648f453 100644 --- a/server/src/test/java/io/druid/client/BrokerServerViewTest.java +++ b/server/src/test/java/io/druid/client/BrokerServerViewTest.java @@ -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