Skip to content

libcontainer/integration: fix unit test#2661

Merged
AkihiroSuda merged 1 commit into
opencontainers:masterfrom
kinvolk:mauricio/fix-unit-test-in-libcontainer-exec
Oct 26, 2020
Merged

libcontainer/integration: fix unit test#2661
AkihiroSuda merged 1 commit into
opencontainers:masterfrom
kinvolk:mauricio/fix-unit-test-in-libcontainer-exec

Conversation

@mauriciovasquezbernal
Copy link
Copy Markdown
Contributor

@mauriciovasquezbernal mauriciovasquezbernal commented Oct 23, 2020

73d93ee (part of #2600) missed one update in 'TestPIDHostInitProcessWait' and now the unit tests are broken.

Edit: It was a merge issue between #2633 (Introduced 'TestPIDHostInitProcessWait') & #2600 (was opened before 'TestPIDHostInitProcessWait' was present). No idea why the CI didn't catch this problem.

I found it while having a weird linter failure not related to my changes in #2660.

ref https://travis-ci.org/github/opencontainers/runc/jobs/738208029#L345

cc @mrunalp @kolyshkin

Fix a merge issue between 0aa0fae ("Kill all processes in cgroup even if init process Wait fails")
& 73d93ee ("libct/int: make newTemplateConfig argument a struct") that
resulted in passing the wrong datatype to newTemplateConfig in
TestPIDHostInitProcessWait.

Signed-off-by: Mauricio Vásquez <mauricio@kinvolk.io>
@mauriciovasquezbernal mauriciovasquezbernal force-pushed the mauricio/fix-unit-test-in-libcontainer-exec branch from 9d009b7 to ac5ec5e Compare October 23, 2020 12:57
@AkihiroSuda AkihiroSuda merged commit 6a28ca3 into opencontainers:master Oct 26, 2020
@mauriciovasquezbernal mauriciovasquezbernal deleted the mauricio/fix-unit-test-in-libcontainer-exec branch October 26, 2020 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants