test(restart): drop outdated containerd 1.x plugin requirement from restart tests by webdevsamran · Pull Request #5185 · containerd/nerdctl · GitHub
Skip to content

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

Open
webdevsamran wants to merge 1 commit into
containerd:mainfrom
webdevsamran:fix/issue-5175
Open

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

Conversation

@webdevsamran

Copy link
Copy Markdown

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>
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

1 participant