pub const HANG_GUARD: Duration;Expand description
How long a test waits on an event before failing instead of hanging.
Every wait it bounds ends on the code’s own event, so only code that never
sends it reaches this. It is not a measure of speed, so it sits far above
what any step takes on a loaded machine (the slowest whole tests take about
260s there). nextest ends a test at terminate-after periods in
.config/nextest.toml, which stays a period above this so the test’s own
report of where it hung prints first; clock_tests checks it.