File tree Expand file tree Collapse file tree
tests/src/test/java/io/streamnative/pulsar/handlers/mqtt/base Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818import static org .mockito .Mockito .spy ;
1919import com .google .common .base .Joiner ;
2020import com .google .common .collect .Sets ;
21- import com .google .common .util .concurrent .MoreExecutors ;
2221import io .netty .channel .EventLoopGroup ;
2322import io .streamnative .pulsar .handlers .mqtt .common .MQTTCommonConfiguration ;
2423import io .streamnative .pulsar .handlers .mqtt .common .utils .ConfigurationUtils ;
@@ -415,7 +414,7 @@ protected void setupBrokerMocks(PulsarService pulsar) throws Exception {
415414 }
416415
417416 public static MockZooKeeper createMockZooKeeper () throws Exception {
418- MockZooKeeper zk = MockZooKeeper .newInstance (MoreExecutors . newDirectExecutorService () );
417+ MockZooKeeper zk = MockZooKeeper .newInstance ();
419418 zk .setSessionId (-1 );
420419 List <ACL > dummyAclList = new ArrayList <>(0 );
421420
You can’t perform that action at this time.
0 commit comments