Skip to content

Commit

Permalink
libct/cg: skip TestWriteCgroupFileHandlesInterrupt on CentOS 7
Browse files Browse the repository at this point in the history
It's flaky (kernel bug?) and there's probably nothing we can do about
it.

Fixes #3418.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
  • Loading branch information
kolyshkin committed Oct 27, 2023
1 parent b7e7388 commit 87350b9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libcontainer/cgroups/file_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,13 @@ import (
"strconv"
"testing"
"time"

"github.com/opencontainers/runc/internal/testutil"
)

func TestWriteCgroupFileHandlesInterrupt(t *testing.T) {
testutil.SkipOnCentOS(t, "Flaky (see #4318)", 7)

const (
memoryCgroupMount = "/sys/fs/cgroup/memory"
memoryLimit = "memory.limit_in_bytes"
Expand Down

0 comments on commit 87350b9

Please sign in to comment.