File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
tests/src/test/java/io/streamnative/pulsar/handlers/mqtt/base Expand file tree Collapse file tree 1 file changed +1
-2
lines changed 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 ;
@@ -424,7 +423,7 @@ protected void setupBrokerMocks(PulsarService pulsar) throws Exception {
424423 }
425424
426425 public static MockZooKeeper createMockZooKeeper () throws Exception {
427- MockZooKeeper zk = MockZooKeeper .newInstance (MoreExecutors . newDirectExecutorService () );
426+ MockZooKeeper zk = MockZooKeeper .newInstance ();
428427 zk .setSessionId (-1 );
429428 List <ACL > dummyAclList = new ArrayList <>(0 );
430429
You can’t perform that action at this time.
0 commit comments