peterxcli commented on code in PR #8090:
URL: https://github.com/apache/ozone/pull/8090#discussion_r2006899829
##########
hadoop-hdds/container-service/src/test/java/org/apache/hadoop/ozone/container/keyvalue/TestKeyValueHandler.java:
##########
@@ -282,32 +279,13 @@ public void testVolumeSetInKeyValueHandler() throws
Exception {
DatanodeDetails datanodeDetails = mock(DatanodeDetails.class);
StateContext context = ContainerTestUtils.getMockContext(
datanodeDetails, conf);
- KeyValueHandler keyValueHandler = new KeyValueHandler(conf,
Review Comment:
I think the choosing policy is now initialized in `DatanodeStateMachine`,
then pass it through `KeyValueHandler` constructor. so I think the assertion on
`KeyValueHandler` itself is no longer matter.
--
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]