ashishkumar50 commented on code in PR #11015:
URL: https://github.com/apache/ozone/pull/11015#discussion_r3794764741
##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/shell/TestOzoneDebugReplicasVerify.java:
##########
@@ -269,6 +269,25 @@ void testChecksumsWithEmptyBlockFile() {
.doesNotContain("Checksum mismatch");
}
+ @Test
+ void testVerifyWithContainerLocationRefreshFromScm() {
+ List<String> parameters = new ArrayList<>();
+ parameters.add(0,
getSetConfStringFromConf(ScmConfigKeys.OZONE_SCM_CLIENT_ADDRESS_KEY));
+ parameters.add(0,
getSetConfStringFromConf(OMConfigKeys.OZONE_OM_ADDRESS_KEY));
+ parameters.add("replicas");
+ parameters.add("verify");
+ parameters.add("--checksums");
+ parameters.add("--refresh-from-scm");
Review Comment:
Passing `--refresh-from-scm` true or false will not make any difference in
the test. If we just want to verify whether option name is correct then its
better to add in UT instead of IT.
--
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]