chiacyu opened a new pull request, #8017: URL: https://github.com/apache/ozone/pull/8017
## What changes were proposed in this pull request? Improve `TestDataUtil#createKey` to avoid the need to pass `ReplicationConfig` unnecessarily: - Allow `TestDataUtil#createKey(OzoneBucket, String, ReplicationConfig, byte[])` to be called with `repConfig=null`, in which case it should create the key using `OzoneBucket#createKey(String, long)` - Change `createKey(OzoneBucket, String, byte[])` to pass null instead of `RATIS/ONE` - Tests that call `createKey(OzoneBucket, String, byte[])` and start failing should be changed to pass `RATIS/ONE` explicitly. - Change callers of `TestDataUtil#createKey(OzoneBucket, String, ReplicationConfig, byte[])` to not pass `ReplicationConfig`, unless necessary for the test. ## What is the link to the Apache JIRA [HDDS-12477](https://issues.apache.org/jira/browse/HDDS-12477) ## How was this patch tested? It can test by CI. -- 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]
