mattisonchao commented on code in PR #19374:
URL: https://github.com/apache/pulsar/pull/19374#discussion_r1091979931
##########
pulsar-broker/src/test/java/org/apache/pulsar/broker/admin/AdminApi2Test.java:
##########
@@ -1653,6 +1654,9 @@ public void testDeleteNamespaceWithTopicPolicies() throws
Exception {
admin.topics().createNonPartitionedTopic(namespace + "/tobedeleted");
// verify namespace can be deleted even without topic policy events
admin.namespaces().deleteNamespace(namespace, true);
+ final CompletableFuture<Optional<Topic>> eventTopicFuture =
Review Comment:
Add a test case to test if the topic object is left behind.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]