ivandika3 opened a new pull request, #1705: URL: https://github.com/apache/ratis/pull/1705
## What changes were proposed in this pull request? Generated-by: GPT 6.1 Sol Fix the race in the test. Currently the test unblocks the candidate before isolating the old leader. A separate append afgter the unblocks can add an unexpected append 1. Candidate s0 received the entry and acknowledged it. 1. Old leader s1 committed the entry before the higher-term election. 1. Target s2 later correctly returned NOT_LEADER at term 3. 1. The test nevertheless expected the already-completed client write to fail. Solution is to unblock the candidate after the old leader. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/RATIS-2826 ## How was this patch tested? 10x10 tests: https://github.com/ivandika3/ratis/actions/runs/44506038046 -- 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]
