Skip to content

libct/cg/dev: fix TestSetV1Allow panic#4295

Merged
AkihiroSuda merged 1 commit intoopencontainers:mainfrom
kolyshkin:fix-setv1-panic
Jun 1, 2024
Merged

libct/cg/dev: fix TestSetV1Allow panic#4295
AkihiroSuda merged 1 commit intoopencontainers:mainfrom
kolyshkin:fix-setv1-panic

Conversation

@kolyshkin
Copy link
Contributor

This test panics if userns is detected (such as when run in a rootless docker container) because SetV1 does nothing in this case.

We could fix the panic, but it doesn't make sense to run the test at all.

This test panics if userns is detected (such as when run in a rootless
docker container) because SetV1 does nothing in this case.

We could fix the panic, but it doesn't make sense to run the test at
all.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Copy link
Member

@rata rata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@AkihiroSuda AkihiroSuda merged commit ba4b52d into opencontainers:main Jun 1, 2024
@lifubang lifubang mentioned this pull request Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants