1
0
镜像自地址 https://github.com/tuna/tunasync.git 已同步 2025-12-06 06:26:46 +00:00

cgroupv2: add tests on cgv1 for implicit cgroup

这个提交包含在:
Miao Wang
2021-07-26 23:58:13 +08:00
父节点 e719dc443b
当前提交 c26e9fb64a
共有 2 个文件被更改,包括 9 次插入1 次删除

查看文件

@@ -60,6 +60,11 @@ jobs:
- name: Run Unit tests.
run: make test
- name: Run Additional Unit tests.
run: |
make build-test-worker
sudo cgexec -g "*:/" -g cpu,memory:tunasync bash -c "echo 0 > /sys/fs/cgroup/systemd/tasks; exec sudo -u $USER env USECURCGROUP=1 ./worker.test -test.v -test.coverprofile profile.cov -test.run TestCgroup"
- name: Convert coverage to lcov
uses: jandelgado/gcov2lcov-action@v1.0.0
with: