mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-08 06:13:14 +00:00
cb9edd59f5
The three store::bucket::tests::bucket_delete_* tests drive make_bucket / delete_bucket through the process-global local-disk registry (GLOBAL_LOCAL_DISK_MAP) and lock client, and through Sets::new which reads the process-global erasure mode. Under `cargo test` (single process, many threads) they race other global-touching tests and fail deterministically with InsufficientWriteQuorum. serial_test's #[serial] with the crate default key serializes them across the in-process suite. Measured at --test-threads=16: baseline fails all three every round; with #[serial] all three pass every round. nextest's per-test processes are covered separately by the ecstore-serial-flaky test-group in .config/nextest.toml (#4558). Full instance-level isolation remains a backlog #939 (InstanceContext) concern and is not attempted here. Co-authored-by: heihutu <heihutu@gmail.com>