integration: log all processes to investigate the test failure
The test is failing on
I'd like to know whether the order of the array is the cause, or
the result is completely off.
@@ -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)
}
}
}
