This is an automated email from the ASF dual-hosted git repository.

mcvsubbu pushed a commit to branch increase-wait-time
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git


The following commit(s) were added to refs/heads/increase-wait-time by this 
push:
     new 3b3f28a  Fix NPE in test
3b3f28a is described below

commit 3b3f28a156ee66dac58c60a9276b947116abce7e
Author: Subbu Subramaniam <[email protected]>
AuthorDate: Thu Jul 4 07:44:53 2019 -0700

    Fix NPE in test
---
 .../test/java/org/apache/pinot/broker/broker/HelixBrokerStarterTest.java | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/pinot-broker/src/test/java/org/apache/pinot/broker/broker/HelixBrokerStarterTest.java
 
b/pinot-broker/src/test/java/org/apache/pinot/broker/broker/HelixBrokerStarterTest.java
index 958be70..a97c8b7 100644
--- 
a/pinot-broker/src/test/java/org/apache/pinot/broker/broker/HelixBrokerStarterTest.java
+++ 
b/pinot-broker/src/test/java/org/apache/pinot/broker/broker/HelixBrokerStarterTest.java
@@ -78,6 +78,7 @@ public class HelixBrokerStarterTest extends ControllerTest {
     
_brokerConf.addProperty(CommonConstants.Broker.CONFIG_OF_BROKER_REFRESH_TIMEBOUNDARY_INFO_SLEEP_INTERVAL,
 100L);
     _helixBrokerStarter = new HelixBrokerStarter(_brokerConf, 
getHelixClusterName(), ZkStarter.DEFAULT_ZK_STR);
     _helixBrokerStarter.start();
+    _fakeHelixClients = new FakeHelixClients();
 
     _fakeHelixClients
         .addFakeBrokerInstancesToAutoJoinHelixCluster(getHelixClusterName(), 
ZkStarter.DEFAULT_ZK_STR, 5, true);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to