You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ratis.apache.org by GitBox <gi...@apache.org> on 2020/04/30 17:01:53 UTC

[GitHub] [incubator-ratis] runzhiwang opened a new pull request #82: RATIS-900. Fix Failed UT: RaftExceptionBaseTest.testHandleNotLeaderAndIOException

runzhiwang opened a new pull request #82:
URL: https://github.com/apache/incubator-ratis/pull/82


   Why the ut failed ?
   In the test, the cluster first select an oldLeader, then force change to newLeader, and **kill newLeader**. Then client connect to oldLeader and expect the oldLeader return the real leader i.e. newLeader. But the new leader has been killed, so the test failed. 
   ![image](https://user-images.githubusercontent.com/51938049/80737890-c1959a00-8b46-11ea-9605-c0888cc80d9f.png)
   
   How to fix ?
   Do not kill newLeader.


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org