Skip to content

Commit

Permalink
Revert an incorrect change.
Browse files Browse the repository at this point in the history
  • Loading branch information
szetszwo committed Aug 9, 2024
1 parent 6108df1 commit b7eabfc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ private void testInstallSnapshotDuringLeaderSwitch(CLUSTER cluster) throws Excep

final SnapshotInfo snapshotInfo = cluster.getDivision(change.newPeers[0].getId())
.getStateMachine().getLatestSnapshot();
Assertions.assertNull(snapshotInfo);
Assertions.assertNotNull(snapshotInfo);

// recover the old followers and isolate the leader to force leader switch
RaftTestUtil.isolate(cluster, leaderId);
Expand Down

0 comments on commit b7eabfc

Please sign in to comment.