diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-09-04 05:30:57 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-09-04 05:30:57 +0900 |
| commit | 19630a95932451b4df3f6fd70e88aef9303235e9 (patch) | |
| tree | 4284b4b5565ac25cdbfe9b000fd591cfa997657a /container/dispatcher_test.go | |
| parent | 4051577d6b037e9d9dbeaa8817b906f7b3a8eb26 (diff) | |
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 <cat@gensokyo.uk>
Diffstat (limited to 'container/dispatcher_test.go')
| -rw-r--r-- | container/dispatcher_test.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/container/dispatcher_test.go b/container/dispatcher_test.go index 20a100b8..a4fa3c4b 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) } |
