mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2025-04-04 15:35:18 +00:00
fix unit test failures
This commit is contained in:
parent
f9ef93dd9c
commit
9fde9a7239
@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1571,7 +1571,7 @@ mod tests {
|
||||
.request(SyncRequest::SyncFile { tx_seq })
|
||||
.await
|
||||
.unwrap();
|
||||
|
||||
|
||||
receive_dial(&mut runtime, &sync_send).await;
|
||||
|
||||
receive_chunk_request(
|
||||
|
Loading…
Reference in New Issue
Block a user