fix unit test failures

This commit is contained in:
boqiu 2024-10-24 20:01:57 +08:00 committed by Peter Zhang
parent 5a48c5ba94
commit 5dc7c52d41
2 changed files with 1 additions and 5 deletions

View File

@ -89,9 +89,6 @@ pub struct SerialSyncController {
/// Cache for storing and serving gossip messages.
file_location_cache: Arc<FileLocationCache>,
/// Whether to find files from neighbors only.
neighbors_only: bool,
}
impl SerialSyncController {
@ -118,7 +115,6 @@ impl SerialSyncController {
ctx,
store,
file_location_cache,
neighbors_only: true,
}
}

View File

@ -1571,7 +1571,7 @@ mod tests {
.request(SyncRequest::SyncFile { tx_seq })
.await
.unwrap();
receive_dial(&mut runtime, &sync_send).await;
receive_chunk_request(