From 00d52bb159e091d1dee79e7b4c809662fe8f4e4d Mon Sep 17 00:00:00 2001 From: Kazuyoshi Kato Date: Wed, 21 Jul 2021 16:52:21 -0700 Subject: [PATCH] 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 --- integration/client/container_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/client/container_test.go b/integration/client/container_test.go index 143f1d1cf..0e6462ff7 100644 --- a/integration/client/container_test.go +++ b/integration/client/container_test.go @@ -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) } } }