Attila Doroszlai created RATIS-2522:
---------------------------------------

             Summary: Intermittent assertLogEntries failure in 
TestRaftAsyncWithNetty
                 Key: RATIS-2522
                 URL: https://issues.apache.org/jira/browse/RATIS-2522
             Project: Ratis
          Issue Type: Bug
            Reporter: Attila Doroszlai


{code}
Tests run: 14, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 131.2 s <<< 
FAILURE! -- in org.apache.ratis.netty.TestRaftAsyncWithNetty
org.apache.ratis.netty.TestRaftAsyncWithNetty.testBasicAppendEntriesAsync -- 
Time elapsed: 53.61 s <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: <<ByteString@437c4b25 size=2 
contents="m1">> but was: <<ByteString@5ec6fede size=3 contents="m99">>
        at org.apache.ratis.RaftTestUtil.assertLogEntries(RaftTestUtil.java:354)
        at org.apache.ratis.RaftTestUtil.assertLogEntries(RaftTestUtil.java:336)
        at 
org.apache.ratis.RaftTestUtil.lambda$assertLogEntries$9(RaftTestUtil.java:263)
        at org.apache.ratis.util.JavaUtils.attempt(JavaUtils.java:225)
        at org.apache.ratis.RaftTestUtil.assertLogEntries(RaftTestUtil.java:263)
        at 
org.apache.ratis.RaftBasicTests.runTestBasicAppendEntries(RaftBasicTests.java:174)
        at 
org.apache.ratis.RaftAsyncTests.lambda$runTestBasicAppendEntriesAsync$5(RaftAsyncTests.java:268)
        at 
org.apache.ratis.server.impl.MiniRaftCluster$Factory$Get.runWithNewCluster(MiniRaftCluster.java:146)
        at 
org.apache.ratis.server.impl.MiniRaftCluster$Factory$Get.runWithNewCluster(MiniRaftCluster.java:124)
        at 
org.apache.ratis.RaftAsyncTests.runTestBasicAppendEntriesAsync(RaftAsyncTests.java:267)
        at 
org.apache.ratis.RaftAsyncTests.testBasicAppendEntriesAsync(RaftAsyncTests.java:273)
{code}

- 
https://github.com/adoroszlai/ratis-build-results/blob/master/2026/04/23/732/unit-misc/ratis-test/org.apache.ratis.netty.TestRaftAsyncWithNetty.txt
- 
https://github.com/adoroszlai/ratis-build-results/blob/master/2026/05/01/744/unit-misc/ratis-test/org.apache.ratis.netty.TestRaftAsyncWithNetty.txt
- 
https://github.com/adoroszlai/ratis-build-results/blob/master/2026/05/05/747/unit-misc/ratis-test/org.apache.ratis.netty.TestRaftAsyncWithNetty.txt
- 
https://github.com/adoroszlai/ratis-build-results/blob/master/2026/05/05/749/unit-misc/ratis-test/org.apache.ratis.netty.TestRaftAsyncWithNetty.txt
- 
https://github.com/adoroszlai/ratis-build-results/blob/master/2026/05/05/751/unit-misc/ratis-test/org.apache.ratis.netty.TestRaftAsyncWithNetty.txt
- 
https://github.com/adoroszlai/ratis-build-results/blob/master/2026/05/05/752/unit-misc/ratis-test/org.apache.ratis.netty.TestRaftAsyncWithNetty.txt
- 
https://github.com/adoroszlai/ratis-build-results/blob/master/2026/05/05/754/unit-misc/ratis-test/org.apache.ratis.netty.TestRaftAsyncWithNetty.txt



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to