FuzzingTeam commented on code in PR #5065:
URL: https://github.com/apache/hadoop/pull/5065#discussion_r1002706193
##########
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/erasurecode/rawcoder/TestDecodingValidator.java:
##########
@@ -123,7 +125,12 @@ protected void performTestValidate(int chunkSize) {
}
// decode
- backupAndEraseChunks(clonedDataChunks, parityChunks);
+ try {
Review Comment:
The `backupAndEraseChunks` method would only throw exception if the erased
data index is out of bound. This is only true for the newly added value set.
Adding LambdaTestUtils.intercept() fails the tests for other parameterized
values since LambdaTestUtils.intercept() @throws AssertionError if the
evaluation call didn't raise an exception.
--
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]