-
Notifications
You must be signed in to change notification settings - Fork 231
[Test] enhance hot upgrade test #1726
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
base: master
Are you sure you want to change the base?
[Test] enhance hot upgrade test #1726
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1726 +/- ##
==========================================
- Coverage 55.49% 55.46% -0.04%
==========================================
Files 197 197
Lines 53292 53292
Branches 44624 44624
==========================================
- Hits 29577 29561 -16
- Misses 22245 22260 +15
- Partials 1470 1471 +1 🚀 New features to boost your workflow:
|
a8749e3
to
b28689f
Compare
It seems that I need to confirm whether new nydusdPath exists. |
6108411
to
47a6c1a
Compare
823f858
to
48704f8
Compare
https://github.com/containerd/nydus-snapshotter/blob/d7924384acd9ba8418f9e6c3f25c74a9d83b55ed/pkg/system/system.go#L349 |
eb5b937
to
88b234a
Compare
Thanks, plz squash the commits. :) |
4632ace
to
b3521d4
Compare
Signed-off-by: Zephyr <zinsist777@gmail.com> Enhance hot upgrade tests Signed-off-by: Zephyr <zinsist777@gmail.com> wrapping binary file permissions Signed-off-by: Zephyr <zinsist777@gmail.com> rollback chmod Signed-off-by: Zephyr <zinsist777@gmail.com> rollback chmod Signed-off-by: Zephyr <zinsist777@gmail.com> Enhance hot upgrade tests Signed-off-by: Zephyr <zinsist777@gmail.com> Enhance hot upgrade tests Signed-off-by: Zephyr <zinsist777@gmail.com>
b3521d4
to
19f613f
Compare
Relevant Issue
#1698
Details
Adds Snapshotter Restart Recovery Tests : Introduces a dedicated test case to validate
nydus-snapshotter
's ability torecoverLiveDaemons
after its own restart. It's important to note that the upstream PR for full restart-triggered hot upgrade functionality is currently not merged. Therefore, the scope of this particular test is focused on confirming that the snapshotter can successfully identify, reattach to, and manage existing runningnydusd
daemons upon its own restart, thereby preventing container disruption. This test serves as a foundational verification for the eventual implementation of restart-triggered hot upgrades.Types of changes
What types of changes does your PullRequest introduce? Put an
x
in all the boxes that apply:Checklist
Go over all the following points, and put an
x
in all the boxes that apply.