Skip to content

test: update test logic in TestTestParseFlagPWithPlatformSpec #4261

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 17, 2025

Conversation

haytok
Copy link
Contributor

@haytok haytok commented May 17, 2025

This test does not run in the rootfull Linux environment.
Also, there are some cases where the test does not run.
Therefore, this commit modifies all tests to perform the evaluation.

Note that when the host ports are not specified in the -p option of nerdctl run, ports are randomly assigned, but it is not known what port number will be assigned in each test.
Therefore, this commit modifies not to compare host ports.

This test does not run in the rootfull Linux environment.
Also, there are some cases where the test does not run.
Therefore, this commit modifies all tests to perform the evaluation.

Note that when the host ports are not specified in the -p option of
`nerdctl run`, ports are randomly assigned, but it is not known what port
number will be assigned in each test.
Therefore, this commit modifies not to compare host ports.

Signed-off-by: Hayato Kiwata <[email protected]>
@haytok
Copy link
Contributor Author

haytok commented May 17, 2025

Similar Case : #4260

@haytok
Copy link
Contributor Author

haytok commented May 17, 2025

Oh, tests failed ...
The test I modified will not run in rootless, so this failure is not related to this PR fix.

EL / almalinux-8 rootless (pull_request)

So, could maintainers retry the CI ?

@AkihiroSuda AkihiroSuda added this to the v2.1.2 milestone May 17, 2025
Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

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 848062e into containerd:main May 17, 2025
43 of 44 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.

2 participants