pingqiuandClaude Opus 5.5 15336d7485 test(durable): restore and detach-freeze tests no longer race wall-clock bounds
The restore tests ran under a fixed 4-10 s test context; under load the
whole test outran it and a HEAD read or claim failed with a deadline.
They now use a hang guard derived from the test binary's own deadline.

The detach-freeze test held the next CAS, which a running chunk loop
could take instead of the detach, and gave the settlement 75 ms. It now
holds only the detach CAS, uses a 2 s freeze bound (the settlement keeps
500 ms), and checks the abort against the deadlines the detach traced:
the cut deadline at three quarters of the bound, the abort at or after
it, the return within the bound.

Refs #300

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 06:53:45 -08:00
Languages
Go 84.7%
Rust 7.7%
Shell 2.7%
templ 1.5%
Java 1%
Other 2.1%