adoroszlai commented on code in PR #11481:
URL: https://github.com/apache/ozone/pull/11481#discussion_r4254506309
##########
hadoop-hdds/client/src/test/java/org/apache/hadoop/hdds/scm/storage/TestBlockInputStream.java:
##########
@@ -103,6 +103,7 @@ public void setup() throws Exception {
createChunkList(5);
OzoneClientConfig clientConfig = conf.getObject(OzoneClientConfig.class);
clientConfig.setChecksumVerify(false);
+ clientConfig.setReadRetryInterval(0);
Review Comment:
I would like to suggest a small refactoring here:
`OzoneClientConfig` is created in `@BeforeEach`, and also in test cases.
Please store this one in a member variable. Create a second instance only
where it has to be different, and use the member in the other 3 methods.
--
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]