You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "kaijchen (via GitHub)" <gi...@apache.org> on 2023/03/30 07:51:17 UTC

[GitHub] [ratis] kaijchen commented on a diff in pull request #868: RATIS-1827. Update installed snapshot index only when done

kaijchen commented on code in PR #868:
URL: https://github.com/apache/ratis/pull/868#discussion_r1152868039


##########
ratis-test/src/test/java/org/apache/ratis/server/raftlog/segmented/TestSegmentedRaftLog.java:
##########
@@ -320,7 +320,7 @@ public void testAppendEntry() throws Exception {
         ex = e;
       }
       assertTrue(ex.getMessage().contains("Difference between entry index and RaftLog's latest snapshot " +
-          "index -1 is greater than 1"));
+          "index 999 is greater than 1"));

Review Comment:
   999 should be the correct index, see line 313



-- 
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: issues-unsubscribe@ratis.apache.org

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