sarvekshayr commented on code in PR #8448:
URL: https://github.com/apache/ozone/pull/8448#discussion_r2139612622
##########
hadoop-hdds/container-service/src/test/java/org/apache/hadoop/ozone/TestHddsDatanodeService.java:
##########
@@ -145,6 +146,7 @@ public void testDeletedContainersClearedOnShutdown(String
schemaVersion)
service.stop();
service.join();
service.close();
+ DefaultMetricsSystem.shutdown();
Review Comment:
`testDeletedContainersClearedOnShutdown` runs three times, once for each
schema version. But `HddsDatanodeService` registers
`StorageVolumeCheckerMetrics` every time it starts, and it's not being cleaned
up properly between test runs which results in this
[error](https://github.com/sarvekshayr/ozone/actions/runs/15012686327/job/42184532794#step:13:2339).
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]