mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-18 18:46:17 +00:00
test(tier): fix uring test build fake peer (#5124)
Co-authored-by: heihutu <heihutu@gmail.com>
This commit is contained in:
@@ -5811,8 +5811,8 @@ mod tests {
|
|||||||
let calls = Arc::new(Mutex::new(Vec::new()));
|
let calls = Arc::new(Mutex::new(Vec::new()));
|
||||||
let handle = TierConfigMgr::new();
|
let handle = TierConfigMgr::new();
|
||||||
|
|
||||||
let err = TIER_MUTATION_TEST_COMMIT_PEERS
|
let err = TIER_MUTATION_TEST_PEERS
|
||||||
.scope(vec![FakeTierMutationCommitPeer::boxed("peer-a", calls.clone(), Err(peer_error))], async {
|
.scope(vec![FakeTierMutationPeer::boxed("peer-a", calls.clone(), Err(peer_error))], async {
|
||||||
TierConfigMgr::reload_handle_with(&handle, store.clone()).await
|
TierConfigMgr::reload_handle_with(&handle, store.clone()).await
|
||||||
})
|
})
|
||||||
.await
|
.await
|
||||||
|
|||||||
Reference in New Issue
Block a user