Skip test for cgroups v2

Signed-off-by: Yulia Nedyalkova <julianedialkova@hotmail.com>
This commit is contained in:
Mario Nitchev 2020-03-19 12:52:08 +02:00 committed by Yulia Nedyalkova
parent f34eb2c003
commit 648295be98
1 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,10 @@ import (
)
func TestWriteCgroupFileHandlesInterrupt(t *testing.T) {
if cgroups.IsCgroup2UnifiedMode() {
t.Skip("cgroup v2 is not supported")
}
memoryCgroupMount, err := cgroups.FindCgroupMountpoint("", "memory")
if err != nil {
t.Fatal(err)