Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
  • Loading branch information
BusyJay committed Dec 17, 2022
1 parent 561b5ef commit 42fa3c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/raftstore-v2/src/raft/storage.rs
Expand Up @@ -382,7 +382,7 @@ mod tests {
// This index can't be set before load tablet.
assert_ne!(10, s.entry_storage().applied_index());
assert_ne!(1, s.entry_storage().applied_term());
assert_ne!(10, s.region_state().get_tablet_index());
assert_eq!(10, s.region_state().get_tablet_index());
assert!(task.persisted_cb.is_some());

s.on_applied_snapshot();
Expand Down

0 comments on commit 42fa3c9

Please sign in to comment.