mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-29 16:37:07 +00:00
fix(scanner): clarify follower status
This commit is contained in:
@@ -389,6 +389,8 @@ mod tests {
|
||||
);
|
||||
|
||||
let encoded = serde_json::to_value(response).expect("scanner status should serialize");
|
||||
assert_eq!(encoded["cycle_schedule"]["execution_role"], "unknown");
|
||||
assert_eq!(encoded["cycle_schedule"]["effective_interval_available"], false);
|
||||
assert_eq!(encoded["cycle_schedule"]["effective_interval_seconds"], 0);
|
||||
assert_eq!(encoded["cycle_schedule"]["clean_idle_backoff_enabled"], false);
|
||||
assert_eq!(encoded["cycle_schedule"]["clean_idle_backoff_multiplier"], 1);
|
||||
|
||||
Reference in New Issue
Block a user