Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

integration: Add container restart test#1357

Merged
Random-Liu merged 1 commit intocontainerd:masterfrom
darfux:add-container-restart-test
Dec 13, 2019
Merged

integration: Add container restart test#1357
Random-Liu merged 1 commit intocontainerd:masterfrom
darfux:add-container-restart-test

Conversation

@darfux
Copy link
Copy Markdown
Contributor

@darfux darfux commented Dec 11, 2019

Add an integration test case to test whether a runtime can restart a container properly.

Related to kata-containers/tests#2140
Signed-off-by: Li Yuxuan liyuxuan04@baidu.com

@k8s-ci-robot
Copy link
Copy Markdown

Hi @darfux. Thanks for your PR.

I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Copy link
Copy Markdown
Member

@mikebrow mikebrow left a comment

Choose a reason for hiding this comment

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

just a nit ... thx for the new testcase!

@mikebrow
Copy link
Copy Markdown
Member

/ok-to-test

@mikebrow
Copy link
Copy Markdown
Member

appveyor test issue will be fixed by: #1358

Add an integration test case to test whether a runtime can restart a
container properly.

Signed-off-by: Li Yuxuan <liyuxuan04@baidu.com>
@darfux darfux force-pushed the add-container-restart-test branch from 4c18536 to 5cccd00 Compare December 12, 2019 02:26
Copy link
Copy Markdown
Member

@mikebrow mikebrow left a comment

Choose a reason for hiding this comment

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

LGTM

@darfux
Copy link
Copy Markdown
Contributor Author

darfux commented Dec 12, 2019

Thanks :) @mikebrow

@Random-Liu
Copy link
Copy Markdown
Member

Random-Liu commented Dec 13, 2019

@darfux I'm fine with adding this test. :)

But I think this is a test that makes sense to move to cri-tools, so that it can cover both containerd and cri-o. :)

@darfux Do you want to do that?

@Random-Liu
Copy link
Copy Markdown
Member

/lgtm

@Random-Liu Random-Liu merged commit 61d3e49 into containerd:master Dec 13, 2019
@darfux
Copy link
Copy Markdown
Contributor Author

darfux commented Dec 13, 2019

@Random-Liu I can try it XD. Should I add such case to https://github.com/kubernetes-sigs/cri-tools/blob/master/pkg/validate/container.go? And will this case be removed from here finally? As the PR of kata is dependent on it now.

@darfux darfux deleted the add-container-restart-test branch December 13, 2019 02:35
@dmcgowan
Copy link
Copy Markdown
Member

@darfux trying to confirm for the authors list, this is your name and email Li Yuxuan <liyuxuan04@baidu.com> ?

@darfux
Copy link
Copy Markdown
Contributor Author

darfux commented May 13, 2020

@darfux trying to confirm for the authors list, this is your name and email Li Yuxuan <liyuxuan04@baidu.com> ?

@dmcgowan Yes😉

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants