sodonnel commented on code in PR #3764:
URL: https://github.com/apache/ozone/pull/3764#discussion_r984727988
##########
hadoop-hdds/client/src/test/java/org/apache/hadoop/ozone/client/io/TestECBlockInputStream.java:
##########
@@ -326,7 +326,8 @@ public void testSeekToLength() throws IOException {
ECStreamTestUtil.createKeyInfo(repConfig, 5, 100);
try (ECBlockInputStream ecb = new ECBlockInputStream(repConfig,
keyInfo, true, null, null, streamFactory)) {
- assertThrows(EOFException.class, () -> ecb.seek(100));
Review Comment:
Same as above, should we check for the exception at `ecb.seek(100 + 1)`
rather than removing the check completely?
--
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]