devtrace404 opened a new pull request, #21036:
URL: https://github.com/apache/kafka/pull/21036

   This PR adds comprehensive unit test coverage for the 
KafkaCSVMetricsReporter class, which previously had zero test coverage.
   
   # Test Results
   ```
   % ./gradlew :core:test --tests kafka.metrics.KafkaCSVMetricsReporterTest
   > Task :core:test
   
   Gradle Test Run :core:test > Gradle Test Executor 3 > 
KafkaCSVMetricsReporterTest > testCsvFileFormat() PASSED
   
   Gradle Test Run :core:test > Gradle Test Executor 3 > 
KafkaCSVMetricsReporterTest > testMultipleStopsAreSafe() PASSED
   
   Gradle Test Run :core:test > Gradle Test Executor 3 > 
KafkaCSVMetricsReporterTest > testReporterDoesNotStartWhenDisabled() PASSED
   
   Gradle Test Run :core:test > Gradle Test Executor 3 > 
KafkaCSVMetricsReporterTest > testReporterStartsWhenEnabled() PASSED
   
   Gradle Test Run :core:test > Gradle Test Executor 3 > 
KafkaCSVMetricsReporterTest > testStopAndRestart() PASSED
   
   Gradle Test Run :core:test > Gradle Test Executor 3 > 
KafkaCSVMetricsReporterTest > testManualStart() PASSED
   
   Gradle Test Run :core:test > Gradle Test Executor 3 > 
KafkaCSVMetricsReporterTest > testMultipleStartsAreSafe() PASSED
   
   Gradle Test Run :core:test > Gradle Test Executor 3 > 
KafkaCSVMetricsReporterTest > testCustomPollingInterval() PASSED
   
   Gradle Test Run :core:test > Gradle Test Executor 3 > 
KafkaCSVMetricsReporterTest > testOldDirectoryIsDeleted() PASSED
   
   Gradle Test Run :core:test > Gradle Test Executor 3 > 
KafkaCSVMetricsReporterTest > testDirectoryCreation() PASSED
   
   Gradle Test Run :core:test > Gradle Test Executor 3 > 
KafkaCSVMetricsReporterTest > testDirectoryCreationWithDefaultPath() PASSED
   
   Gradle Test Run :core:test > Gradle Test Executor 3 > 
KafkaCSVMetricsReporterTest > testReporterCreationAndMBeanName() PASSED
   BUILD SUCCESSFUL in 2m 34s
   86 actionable tasks: 86 executed
   
   ```


-- 
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]

Reply via email to