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 1616import static org .mockito .ArgumentMatchers .any ;
1717import static org .mockito .Mockito .doReturn ;
1818import static org .mockito .Mockito .spy ;
19+
1920import com .google .common .base .Joiner ;
2021import com .google .common .collect .Sets ;
21- import com .google .common .util .concurrent .MoreExecutors ;
2222import io .netty .channel .EventLoopGroup ;
2323import io .streamnative .pulsar .handlers .mqtt .common .MQTTCommonConfiguration ;
2424import io .streamnative .pulsar .handlers .mqtt .common .utils .ConfigurationUtils ;
@@ -424,7 +424,7 @@ protected void setupBrokerMocks(PulsarService pulsar) throws Exception {
424424 }
425425
426426 public static MockZooKeeper createMockZooKeeper () throws Exception {
427- MockZooKeeper zk = MockZooKeeper .newInstance (MoreExecutors . newDirectExecutorService () );
427+ MockZooKeeper zk = MockZooKeeper .newInstance ();
428428 zk .setSessionId (-1 );
429429 List <ACL > dummyAclList = new ArrayList <>(0 );
430430
You can’t perform that action at this time.
0 commit comments