Skip to content

Commit 7f2fc75

Browse files
committed
fix mock zookeeper change
1 parent 05a25d8 commit 7f2fc75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/src/test/java/io/streamnative/pulsar/handlers/mqtt/base/MQTTProtocolHandlerTestBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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

0 commit comments

Comments
 (0)