The CI Challenge: save 10% or get $1,000

Turn off the race detector's exit sleep in short-lived test helper processes

Synchronous POSIX helper processes in race-built tests exit without the race runtime's final sleep.

How OpenClaw used this technique

Read what OpenClaw changed and follow the original sources.

Turn off the race detector's exit sleep in short-lived test helper processes

Synchronous POSIX helper processes in race-built tests exit without the race runtime's final sleep.

Use it when
A Go race-mode test suite re-executes the test binary or another race-built helper as a subprocess many times and waits for each to exit.
Before applying it
The override applies only to synchronous helper children; race detection, its other options and the parent environment stay as they were.

Company Playbooks