sodonnel commented on a change in pull request #3197:
URL: https://github.com/apache/ozone/pull/3197#discussion_r832946189
##########
File path:
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/read/TestECBlockReconstructedStripeInputStream.java
##########
@@ -487,15 +495,8 @@ public void testErrorReadingBlockContinuesReading() throws
IOException {
.randomFill(dataBufs, repConfig.getEcChunkSize(), dataGen,
blockLength);
ByteBuffer[] parity = generateParity(dataBufs, repConfig);
- List<List<Integer>> failLists = new ArrayList<>();
- failLists.add(indexesToList(0, 1));
- // These will be the first parity read and then the next parity read as a
- // replacement
- failLists.add(indexesToList(2, 3));
- // First parity and then the data block
- failLists.add(indexesToList(2, 0));
-
- for (List<Integer> failList : failLists) {
+ for (int k = 0; k < 5; k++) {
Review comment:
Not, its just repeating the main loop of the test 5 files to allow a
random node to be failed each time and have some randomness in the test.
--
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]