Skip to content

follow-up TestLoadStdinFromPipe #1409

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
Oct 6, 2022

Conversation

fahedouch
Copy link
Member

@fahedouch fahedouch commented Oct 4, 2022

follow-up #1405

For the consistency of the TestLoadStdinFromPipe test, the image should be removed after saving it.

Signed-off-by: fahed dorgaa [email protected]

@fahedouch
Copy link
Member Author

cc @manugupt1

@fahedouch fahedouch force-pushed the follow-up-fix-stdin branch from 2ea33a1 to e927da7 Compare October 4, 2022 10:53
@fahedouch fahedouch force-pushed the follow-up-fix-stdin branch from e927da7 to ea90e56 Compare October 4, 2022 10:53
@AkihiroSuda AkihiroSuda added this to the v0.23.1 milestone Oct 4, 2022
base := testutil.NewBase(t)

tmp := t.TempDir()
base.Cmd("pull", testutil.CommonImage).AssertOK()
base.Cmd("save", testutil.CommonImage, "-o", filepath.Join(tmp, "common.tar")).AssertOK()

base.Cmd("rmi", testutil.CommonImage).AssertOK()
Copy link
Contributor

Choose a reason for hiding this comment

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

I did not remove the image since it was named common image and did not want to slow down CI. I am not sure of the intention of why it was named like this. But LGTM

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 8a82146 into containerd:master Oct 6, 2022
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.

3 participants