adoroszlai opened a new pull request, #7974: URL: https://github.com/apache/ozone/pull/7974
## What changes were proposed in this pull request? - Allow updating server-default replication settings without restarting OM to speed up tests. Cannot add to reconfiguration framework, because it applies property changes one by one, but these two settings must be changed at the same time (`EC/THREE` or `RATIS/rs-3-2-1024k` are invalid). Later we may improve this by ignoring invalid configurations during the update. - Add `TestReplicationConfigPreference` to `NonHATests` (using HA cluster is not really needed) and simplify it by refactoring to a single parameterized test, instead of using hard-coded bucket/key names for handling different scenarios. - Add imports in `NonHATests` for all nested classes. https://issues.apache.org/jira/browse/HDDS-12295 ## How was this patch tested? Before: ``` Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 81.36 s -- in org.apache.hadoop.ozone.shell.TestReplicationConfigPreference ``` After: ``` Tests run: 81, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.853 s -- in org.apache.ozone.test.NonHATests$ReplicationConfigPreference ``` https://github.com/adoroszlai/ozone/actions/runs/13548064424/job/37865190732#step:6:6714 -- 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]
