You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by te...@apache.org on 2024/03/15 08:06:58 UTC
(pulsar) branch branch-3.2 updated: [fix][test] Fix thread leak in TopicPoliciesAuthZTest (#22257)
This is an automated email from the ASF dual-hosted git repository.
technoboy pushed a commit to branch branch-3.2
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/branch-3.2 by this push:
new 415e5914e1e [fix][test] Fix thread leak in TopicPoliciesAuthZTest (#22257)
415e5914e1e is described below
commit 415e5914e1e9e1d671e434c7e27aae08c7f6f798
Author: Lari Hotari <lh...@users.noreply.github.com>
AuthorDate: Wed Mar 13 05:01:31 2024 +0200
[fix][test] Fix thread leak in TopicPoliciesAuthZTest (#22257)
---
.../java/org/apache/pulsar/broker/admin/TopicPoliciesAuthZTest.java | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/pulsar-broker/src/test/java/org/apache/pulsar/broker/admin/TopicPoliciesAuthZTest.java b/pulsar-broker/src/test/java/org/apache/pulsar/broker/admin/TopicPoliciesAuthZTest.java
index bcb8e3233a0..1f02afd4183 100644
--- a/pulsar-broker/src/test/java/org/apache/pulsar/broker/admin/TopicPoliciesAuthZTest.java
+++ b/pulsar-broker/src/test/java/org/apache/pulsar/broker/admin/TopicPoliciesAuthZTest.java
@@ -72,6 +72,12 @@ public final class TopicPoliciesAuthZTest extends MockedPulsarStandalone {
@SneakyThrows
@AfterClass
public void after() {
+ if (superUserAdmin != null) {
+ superUserAdmin.close();
+ }
+ if (tenantManagerAdmin != null) {
+ tenantManagerAdmin.close();
+ }
close();
}