Skip to content
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

Tests for task and sandbox reset/restart #1273

Merged
merged 2 commits into from
May 2, 2022

Conversation

helsaawy
Copy link
Contributor

@helsaawy helsaawy commented Jan 10, 2022

Adds tests for resetting tasks and containers explicitly with CRI plugin API, and implicitly using annotations and start/stop commands, as well as state being preserved in sandbox VHD across container and pod restart.

Restart functionality implemented in:
kevpar/cri#13
#1271
#1316

Signed-off-by: Hamza El-Saawy hamzaelsaawy@microsoft.com

@helsaawy helsaawy requested a review from a team as a code owner January 10, 2022 18:43
@helsaawy helsaawy marked this pull request as draft January 10, 2022 18:56
@helsaawy helsaawy marked this pull request as ready for review March 9, 2022 20:34
Adds tests for resetting tasks and containers explicitly with CRI
plugin API, and implicitly using annotations and start/stop commands.

PR relies on accompanying CRI PR (kevpar/cri#13) being merged.

Signed-off-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com>
@helsaawy
Copy link
Contributor Author

Rebased to resolve conflicts
@anmaxvl, PTAL

Copy link
Contributor

@anmaxvl anmaxvl left a comment

Choose a reason for hiding this comment

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

a few nits, but otherwise LGTM

test/cri-containerd/container.go Show resolved Hide resolved
test/cri-containerd/containerdrestart_test.go Show resolved Hide resolved
test/cri-containerd/containerdrestart_test.go Outdated Show resolved Hide resolved
Copy link
Contributor

@katiewasnothere katiewasnothere left a comment

Choose a reason for hiding this comment

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

one request, otherwise lgtm

Signed-off-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com>
@helsaawy helsaawy merged commit 2b176ab into microsoft:master May 2, 2022
@helsaawy helsaawy deleted the he/restarttest branch May 2, 2022 21:15
anmaxvl added a commit that referenced this pull request Feb 7, 2023
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