From 19630a95932451b4df3f6fd70e88aef9303235e9 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 4 Sep 2025 05:30:57 +0900 Subject: [PATCH] container/dispatcher: remove wait4 test log Turns out the reporting methods are not safe for concurrent use, despite the claim in testing.T doc comment. Signed-off-by: Ophestra --- container/dispatcher_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/container/dispatcher_test.go b/container/dispatcher_test.go index 20a100b..a4fa3c4 100644 --- a/container/dispatcher_test.go +++ b/container/dispatcher_test.go @@ -650,7 +650,6 @@ func (k *kstub) wait4(pid int, wstatus *syscall.WaitStatus, options int, rusage expect := k.Expects("wait4") // special case to prevent leaking the wait4 goroutine when testing initEntrypoint if v, ok := expect.Args[4].(int); ok && v == stub.PanicExit { - k.Log("terminating current goroutine as requested by kexpect") panic(stub.PanicExit) }