Skip to content

test: update test logic in TestParsePortsLabel #4260

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

The current implementation does not compare []cni.PortMapping{} obtained from labelMap and ParsePortsLabel() and want.
Therefore, this commit will update so that the evaluation is performed.

The current implementation does not compare []cni.PortMapping{} obtained
from labelMap and ParsePortsLabel() and want.
Therefore, this commit will update so that the evaluation is performed.

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

haytok commented May 17, 2025

I am currently working on #4027 and created this PR because I need to modify ParsePortsLabel() in the future and want to test it properly.

@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, nice catch

@AkihiroSuda AkihiroSuda merged commit b7a46d6 into containerd:main May 17, 2025
38 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