Copilot commented on code in PR #11481:
URL: https://github.com/apache/ozone/pull/11481#discussion_r4244780970
##########
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:
This setup mutates the shared `conf` used by `testRefreshPipelineFunction`.
That test relies on a positive retry interval for `BlockExtendedInputStream` to
emit the `Retry read after` log, but a zero interval produces a zero-delay
retry and skips that log (`BlockExtendedInputStream.java:83-93`), so its
assertion fails. Keep this setup at the default one-second interval (the tests
that need zero already configure their own client config).
--
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]