From 92a915d9e8207fed27fde3eacae8b89dcdd519af Mon Sep 17 00:00:00 2001 From: Calvin Neo Date: Tue, 13 Aug 2024 10:26:29 +0800 Subject: [PATCH] f Signed-off-by: Calvin Neo --- proxy_tests/proxy/shared/fast_add_peer/fp.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/proxy_tests/proxy/shared/fast_add_peer/fp.rs b/proxy_tests/proxy/shared/fast_add_peer/fp.rs index aebd891d350..5c5dbf5d240 100644 --- a/proxy_tests/proxy/shared/fast_add_peer/fp.rs +++ b/proxy_tests/proxy/shared/fast_add_peer/fp.rs @@ -947,8 +947,9 @@ fn test_single_replica_migrate() { // Test MsgSnapshot before MsgAppend /// According to https://github.com/tikv/raft-rs/blob/2aefbf627f243dd261b7585ef1250d32efd9dfe7/src/raft.rs#L842, -/// if log is truncated in Leader, a MsgSnapshot may be sent directly before a MsgAppend. -/// If such MsgSnapshot is received when a FAP snapshot IS BUILDING, then it will be dropped. +/// if log is truncated in Leader, a MsgSnapshot may be sent directly before a +/// MsgAppend. If such MsgSnapshot is received when a FAP snapshot IS BUILDING, +/// then it will be dropped. #[test] fn test_msgsnapshot_before_msgappend() { let (mut cluster, pd_client) = new_mock_cluster_snap(0, 2);