integration: log all processes to investigate the test failure

The test is failing on
https://github.com/containerd/containerd/runs/3129202049#step:10:43.

I'd like to know whether the order of the array is the cause, or
the result is completely off.

Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
This commit is contained in:
Kazuyoshi Kato 2021-07-21 16:52:21 -07:00
parent ee27cde735
commit 00d52bb159

View File

@ -462,7 +462,7 @@ func TestContainerPids(t *testing.T) {
if len(processes) > 0 {
actual := processes[0].Pid
if pid != actual {
t.Errorf("expected pid %d but received %d", pid, actual)
t.Errorf("expected pid %d but received %d. processes = %+v", pid, actual, processes)
}
}
}