Expand description
Shared test bootstrap helpers for RustFS integration tests (backlog#1153 infra-1).
This crate is a dev-dependency only: it must never appear in any
crate’s [dependencies]. It owns the ~50-line “build a real temp-disk
ECStore” bootstrap that used to be copy-pasted (and drift) across the
heal/iam/scanner integration tests.
Single-process integration scope only — multi-node / chaos harnesses are out of scope (backlog#1100).
Structs§
- TestEC
Store Env - A real single-pool, single-set
ECStorebuilt over per-test temp-dir “disks”. Build one withTestECStoreEnv::builder. - TestEC
Store EnvBuilder - Builder for
TestECStoreEnv. Defaults reproduce the historical heal bootstrap: 4 disks, one pool, one set, bucket-metadata system initialized.
Functions§
- init_
tracing - Install the standard test tracing subscriber once per process
(
RUST_LOG-driven). Safe to call from every test; later calls are no-ops.