mirror of
https://github.com/rustfs/rustfs.git
synced 2026-12-01 13:44:49 +00:00
Move duplicate-destination fixtures into their final test run
This commit is contained in:
@@ -5605,7 +5605,7 @@ mod tests {
|
||||
endpoint: first.endpoint.clone(),
|
||||
..old.clone()
|
||||
};
|
||||
for mut targets in [vec![first.clone(), old.clone()], vec![old.clone(), first.clone()]] {
|
||||
for mut targets in [vec![first.clone(), old.clone()], vec![old, first]] {
|
||||
let before = serde_json::to_vec(&targets).unwrap();
|
||||
assert!(matches!(
|
||||
BucketTargetSys::upsert_target_entry(&mut targets, &edit, true),
|
||||
|
||||
Reference in New Issue
Block a user