mirror of
https://github.com/rustfs/rustfs.git
synced 2026-07-26 08:18:18 +00:00
test(scanner): add validation harness (#3428)
* test(scanner): add validation harness * fix(scanner): harden validation harness --------- Co-authored-by: Henry Guo <marshawcoco@users.noreply.github.com> Co-authored-by: houseme <housemecn@gmail.com>
This commit is contained in:
@@ -137,6 +137,25 @@ same command with new buckets or prefixes and record the final object count.
|
||||
Capture scanner status before the workload, after the workload finishes, and
|
||||
throughout the idle observation window.
|
||||
|
||||
The repository includes a scanner validation harness for repeatable collection:
|
||||
|
||||
```bash
|
||||
export RUSTFS_ACCESS_KEY="<admin-access-key>"
|
||||
export RUSTFS_SECRET_KEY="<admin-secret-key>"
|
||||
|
||||
scripts/run_scanner_validation_harness.sh \
|
||||
--alias ALIAS \
|
||||
--endpoint http://127.0.0.1:9000 \
|
||||
--deployment single-disk \
|
||||
--workload-label small-object-idle \
|
||||
--samples 30 \
|
||||
--interval-secs 60 \
|
||||
--out-dir artifacts/scanner-validation
|
||||
```
|
||||
|
||||
The harness writes scanner/heal config snapshots, scanner status samples, host
|
||||
telemetry when available, run metadata, and `scanner-summary.csv`.
|
||||
|
||||
Example status request:
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user