-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add some tests for cgroup v2 #8658
Conversation
Codecov Report
@@ Coverage Diff @@
## main #8658 +/- ##
==========================================
- Coverage 12.31% 11.17% -1.14%
==========================================
Files 20 18 -2
Lines 1161 993 -168
==========================================
- Hits 143 111 -32
+ Misses 1014 880 -134
+ Partials 4 2 -2
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
test/tests/workspace/k3s_test.go
Outdated
Command: "bash", | ||
Args: []string{ | ||
"-c", | ||
"while [ ! -e /workspace/k3s ]; do sleep 1; done && sudo chmod +x /workspace/k3s && sleep 20 && sudo /workspace/k3s kubectl wait --for=condition=Ready nodes -l node-role.kubernetes.io/master=true --timeout 30s && sudo /workspace/k3s kubectl get nodes", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a draft now because we need sleep 20
. Without it, the Text file will be busy. I plan to fix this.
93d4db5
to
91b36bb
Compare
b170bac
to
63741ad
Compare
@Furisto PTAL |
@utam0k Can you squash your commits? Chris has reminded me that we should not have too many commits. |
Description
Related Issue(s)
Fixes #8627
How to test
Run the integration test following README of tests.
(e.g. https://werft.gitpod-dev.com/job/gitpod-custom-to-cgv2-itest.2/logs)
For cgroup v2, you need to prepare a dedicated image to build the environment. core-dev is cgoup v1, so the test for cgroup v2 is skipped.
gitpod-k3s-202203090157-cgv2
is the image that set the cgroup v2 setting.Release Notes
Documentation