mirror of
https://github.com/containerd/containerd.git
synced 2026-08-09 17:39:22 +00:00
When cancel() sends SIGTERM to a short-lived logging binary that is already mid-exit, cmd.Wait() may return 'signal: terminated'. This is expected behavior since we sent the SIGTERM ourselves, so treat it as a normal exit. Fixes flaky TestNewBinaryIOBinaryV2Ready. Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>