leixm commented on PR #1303: URL: https://github.com/apache/ratis/pull/1303#issuecomment-3478736099
> Hi, Please take a look for the failed UT, could you reproduce it in your local environment? > > ``` > Error: org.apache.ratis.grpc.TestReadOnlyRequestWithGrpc.testReadAfterWrite -- Time elapsed: 1.677 s <<< FAILURE! > org.opentest4j.AssertionFailedError: expected: <true> but was: <false> > at org.apache.ratis.ReadOnlyRequestTests.testReadAfterWriteImpl(ReadOnlyRequestTests.java:314) > at org.apache.ratis.server.impl.MiniRaftCluster$Factory$Get.runWithNewCluster(MiniRaftCluster.java:143) > at org.apache.ratis.server.impl.MiniRaftCluster$Factory$Get.runWithNewCluster(MiniRaftCluster.java:121) > at org.apache.ratis.ReadOnlyRequestTests.testReadAfterWrite(ReadOnlyRequestTests.java:289) > at java.lang.reflect.Method.invoke(Method.java:498) > at java.util.ArrayList.forEach(ArrayList.java:1259) > ``` I tried to reproduce this unit test failure locally, this looks wired. - Running `testReadAfterWrite` alone resulted in a stable pass. - Running `TestReadOnlyRequestWithGrpc` mostly succeeded, with a small chance of failing, but only `testFollowerLinearizableReadParallel` and `testFollowerLeaseReadParallel` failed; `testReadAfterWrite` did not fail. -- 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]
