Skip to content

test(restart): drop outdated containerd 1.x plugin requirement from restart tests - #5185

Merged
AkihiroSuda merged 1 commit into
containerd:mainfrom
webdevsamran:fix/issue-5175
Sep 8, 2026
Merged

test(restart): drop outdated containerd 1.x plugin requirement from restart tests#5185
AkihiroSuda merged 1 commit into
containerd:mainfrom
webdevsamran:fix/issue-5175

Conversation

@webdevsamran

Copy link
Copy Markdown
Contributor

Description

Drops the outdated containerd 1.x nerdtest.ContainerdPlugin("io.containerd.internal.v1", "restart", ...) requirement check from the restart-policy integration tests in cmd/nerdctl/container/container_run_restart_linux_test.go.

In containerd 2.x, the restart monitor is no longer registered under io.containerd.internal.v1, causing these tests to silently skip during test runs.

As discussed and approved in #5175 by @AkihiroSuda, dropping this stale gate enables the restart-policy tests to run on containerd 2.x.

Fixes #5175

AI coding assistance was used for initial investigation; changes were manually reviewed and compilation-tested.

…estart tests

Signed-off-by: Samran Asif <samranwebdev2000@gmail.com>
@AkihiroSuda AkihiroSuda added this to the v2.4.0 milestone Sep 8, 2026

@AkihiroSuda AkihiroSuda left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks

@AkihiroSuda
AkihiroSuda merged commit 61dba3d into containerd:main Sep 8, 2026
47 of 50 checks passed
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.

Restart-policy tests silently skip on containerd 2.x

2 participants