Merge pull request #5775 from kzys/pid-order

integration: log all processes to investigate the test failure
This commit is contained in:
Maksym Pavlenko 2021-07-23 10:09:04 -07:00 committed by GitHub
commit c3f1f0e5ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -462,7 +462,7 @@ func TestContainerPids(t *testing.T) {
if len(processes) > 0 { if len(processes) > 0 {
actual := processes[0].Pid actual := processes[0].Pid
if pid != actual { 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)
} }
} }
} }