Expand description
Shared container state: lock files, per-process resource registry, and stale-process pruning.
Test binaries from several processes may share one reusable container. The state file records which process created which resources (for example per-test databases), so a later run can clean up resources whose owner process already exited.
Structs§
- Container
Lease - Lease that prunes dead-process entries from a service’s state file on drop.
- Container
State Lock - Exclusive filesystem lock guarding one service’s state file.
- Shared
Container State - Serializable registry of live test processes and the resources they created.