Skip to content

Commit b2539a7

Browse files
committed
libct/cg: skip TestWriteCgroupFileHandlesInterrupt on CentOS 7
It's flaky (kernel bug?) and there's probably nothing we can do about it. Fixes #3418. Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent a2f7c6a commit b2539a7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libcontainer/cgroups/file_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,13 @@ import (
88
"strconv"
99
"testing"
1010
"time"
11+
12+
"github.com/opencontainers/runc/internal/testutil"
1113
)
1214

1315
func TestWriteCgroupFileHandlesInterrupt(t *testing.T) {
16+
testutil.SkipOnCentOS(t, "Flaky (see #3418)", 7)
17+
1418
const (
1519
memoryCgroupMount = "/sys/fs/cgroup/memory"
1620
memoryLimit = "memory.limit_in_bytes"

0 commit comments

Comments
 (0)