From 25db474cf6814e7943f7211e42a26bce351c8a0c 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) }