Skip to main content

kill_point

Function kill_point 

Source
pub fn kill_point(name: &str)
Expand description

A test kill point: with AGENTD_TEST_KILL_AT=<name> set (debug / internal-mocks builds only), the process SIGKILLs itself here — the chaos suite’s way of dying at an exact instant between two durable writes. It compiles to nothing in a release build without internal-mocks, so a production binary carries no self-kill path.