Skip to content

Commit

Permalink
Fix leak in PulsarRegistrationClientTest
Browse files Browse the repository at this point in the history
  • Loading branch information
lhotari committed Nov 8, 2023
1 parent 0e7ed96 commit 3b42751
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ public void testNetworkDelayWithBkZkManager() throws Throwable {
final String zksConnectionString = zks.getConnectionString();
final String ledgersRoot = "/test/ledgers-" + UUID.randomUUID();
// prepare registration manager
@Cleanup
ZooKeeper zk = new ZooKeeper(zksConnectionString, 5000, null);
final ServerConfiguration serverConfiguration = new ServerConfiguration();
serverConfiguration.setZkLedgersRootPath(ledgersRoot);
Expand Down

0 comments on commit 3b42751

Please sign in to comment.