adoroszlai opened a new pull request, #7632:
URL: https://github.com/apache/ozone/pull/7632

   HDDS-11819. Improve mock datanode version handling in MiniOzoneCluster
   
   ## What changes were proposed in this pull request?
   
   `MiniOzoneCluster` allows setting custom "initial" and "current" version for 
datanodes in integration tests.
   
   This PR:
   - Moves the logic to `DatanodeFactory`, where similar logic for setting 
layout version already exists.
   - Replaces mocked static methods with test-specific config properties to 
inject the custom value.  This allows future implementation of the factory to 
set different version for each node.
   - Removes `TestDatanodeVersion`, which duplicates 
`TestBlockDataStreamOutput#testDatanodeVersion`.
   
   https://issues.apache.org/jira/browse/HDDS-11819
   
   ## How was this patch tested?
   
   CI:
   https://github.com/adoroszlai/ozone/actions/runs/12581758034
   


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

Reply via email to