storage: gofmt the unheld probe test

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
pingqiuandClaude Opus 5.5 committed 2026-11-19 02:50:41 -08:00
1 parent fcf5dc72d7
commit 574c035e68
1 file changed
+3 -2
@@ -108,8 +108,9 @@ func TestProbeVolumeUnheldHolderProcessDies(t *testing.T) {
t.Fatal(err)
}
exited := make(chan struct{})
go func() { _ = cmd.Wait(); close(exited) }() // reaped on every path
t.Cleanup(func() { // kill the holder and join its reaper, bounded
// Reaped on every path; the cleanup kills the holder and joins its reaper.
go func() { _ = cmd.Wait(); close(exited) }()
t.Cleanup(func() {
_ = cmd.Process.Kill()
select {
case <-exited: