refactor: use relative heal test compat consumers (#3733)

This commit is contained in:
安正超
2026-06-22 14:55:12 +08:00
committed by GitHub
parent a3202eb6bb
commit 7d81183cf1
9 changed files with 55 additions and 20 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
use thiserror::Error;
use crate::heal::storage_compat::{DiskError, EcstoreError};
use super::heal::storage_compat::{DiskError, EcstoreError};
/// Custom error type for heal operations
/// This enum defines various error variants that can occur during
+1 -1
View File
@@ -494,10 +494,10 @@ impl HealChannelProcessor {
#[cfg(test)]
mod tests {
use super::super::storage_compat::{DiskStore, Endpoint};
use super::*;
use crate::heal::manager::HealConfig;
use crate::heal::storage::{HealObjectInfo, HealStorageAPI};
use crate::heal::storage_compat::{DiskStore, Endpoint};
use rustfs_common::heal_channel::{
HealAdmissionResult, HealChannelPriority, HealChannelRequest, HealRequestSource, HealScanMode,
};