codelipenghui commented on a change in pull request #14643:
URL: https://github.com/apache/pulsar/pull/14643#discussion_r823747836
##########
File path:
pulsar-broker/src/test/java/org/apache/pulsar/compaction/CompactionTest.java
##########
@@ -1655,4 +1661,14 @@ public void testReadUnCompacted(boolean batchEnabled)
throws PulsarClientExcepti
assertNull(none);
}
}
+
+ @SneakyThrows
+ @Test
+ public void testHealthCheckTopicNotCompacted() {
+ NamespaceName heartbeatNamespaceV2 =
NamespaceService.getHeartbeatNamespaceV2(pulsar.getAdvertisedAddress(),
pulsar.getConfiguration());
+ String topic = heartbeatNamespaceV2.toString() + "/healthcheck";
+ pulsarClient.newProducer().topic(topic).create();
Review comment:
Need to close the producer after the test.
--
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]