Skip to main content

Module harness

Module harness 

Source
Expand description

Ties the pieces together: spawn gonzalod replicas over the S3 backend, build a Dispatcher over them, run the workload while injecting replica-kill chaos, and check the oracle. Used by the bounded gate (tests/ha_soak.rs) and, with a longer chaos loop, by the gonzalo-soak binary.

Structs§

SoakOutcome
The result of a soak run: the collected stats and any invariant violations.

Functions§

dispatcher_over
Build a dispatcher (the “Service”) over the replicas’ HTTP endpoints.
run_rounds
Run rounds soak rounds against replicas freshly-spawned gonzalod processes over target. Each round runs the workload while performing one kill+recover cycle on a (rotating) replica, then checks the oracle. Each round uses a distinct collection so op-ids never collide across rounds.