ChenSammi commented on PR #5250:
URL: https://github.com/apache/ozone/pull/5250#issuecomment-1727341300

   > Looks like the new test is flaky. Since this is a test-only change, I've 
reverted it.
   > 
   > ```
   > Tests run: 176, Failures: 0, Errors: 16, Skipped: 6, Time elapsed: 61.031 
s <<< FAILURE! - in 
org.apache.hadoop.ozone.container.keyvalue.TestKeyValueContainer
   > Error:  TestKeyValueContainer.testImportV3ReplicaToV2HddsVolume  Time 
elapsed: 0.116 s  <<< ERROR!
   > java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
   >    at java.util.ArrayList.rangeCheck(ArrayList.java:659)
   >    at java.util.ArrayList.get(ArrayList.java:435)
   >    at 
org.apache.hadoop.ozone.container.keyvalue.TestKeyValueContainer.lambda$setUp$2(TestKeyValueContainer.java:174)
   >    at 
org.mockito.internal.stubbing.StubbedInvocationMatcher.answer(StubbedInvocationMatcher.java:40)
   >    at 
org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:99)
   >    at 
org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29)
   >    at 
org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:33)
   >    at 
org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:57)
   >    at 
org.mockito.internal.creation.bytebuddy.MockMethodAdvice.handle(MockMethodAdvice.java:147)
   >    at 
org.apache.hadoop.ozone.container.common.volume.RoundRobinVolumeChoosingPolicy.chooseVolume(RoundRobinVolumeChoosingPolicy.java:50)
   >    at 
org.apache.hadoop.ozone.container.keyvalue.TestKeyValueContainer.testMixedSchemaImport(TestKeyValueContainer.java:986)
   >    at 
org.apache.hadoop.ozone.container.keyvalue.TestKeyValueContainer.testImportV3ReplicaToV2HddsVolume(TestKeyValueContainer.java:970)
   > ```
   
   The failure is because #5300 changed some code in 
TestKeyValueContainer#setUp. 


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