umamaheswararao commented on code in PR #4258:
URL: https://github.com/apache/ozone/pull/4258#discussion_r1100467636


##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/storage/TestContainerCommandsEC.java:
##########
@@ -349,9 +349,16 @@ private static byte[] getBytesWith(int singleDigitNumber, 
int total) {
   @MethodSource("recoverableMissingIndexes")
   void testECReconstructionCoordinatorWith(List<Integer> missingIndexes)
       throws Exception {
-    testECReconstructionCoordinator(missingIndexes);
+    testECReconstructionCoordinator(missingIndexes, 3);
   }
 
+  @Test
+  void testECReconstructionWithPartialStripe()

Review Comment:
   I figured out the problem. Test indeed tests the behavior, however because 
of using the inputchunks array which was might created by other tests, number 
of bytes written to file was more than one chunk. So, it's not meeting the 
expected situation when ran with other tests. If you run this test alone, it 
will consistently fail as input chunk initialization will happen as expected, 
that is just 1 chunk. I will update the patch shortly.



-- 
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]

Reply via email to