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 12:24:41 UTC

[GitHub] [incubator-ratis] runzhiwang opened a new pull request #80: RATIS-848. Fix Failed UT: TestRaftSnapshotWithGrpc.testBasicInstallSnapshot

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


   **Why unit test TestRaftSnapshotWithGrpc.testBasicInstallSnapshot failed?**
   In the test, leader take snapshot, then add two followers, then leader restart, then verifyTakeSnapshotMetric. 
   It must be failed when verifyTakeSnapshotMetric after restarting leader. Because restart leader will create a new instance of RaftServer, the metric of take snapshot is clean.
   
   


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