mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 17:35:43 +03:00
docker: TestDockerDriver_OOMKilled should now run on cgroups v2 (#25443)
Docker driver's TestDockerDriver_OOMKilled should run on cgroups v2 now, since we're running docker v27 client library and our runners run docker v26 that contain containerd fix containerd/containerd#6323.
This commit is contained in:
committed by
GitHub
parent
ce83993667
commit
e249a6197f
@@ -2576,9 +2576,7 @@ func TestDockerDriver_OOMKilled(t *testing.T) {
|
||||
ci.Parallel(t)
|
||||
testutil.DockerCompatible(t)
|
||||
|
||||
// waiting on upstream fix for cgroups v2
|
||||
// see https://github.com/hashicorp/nomad/issues/13119
|
||||
testutil.CgroupsCompatibleV1(t)
|
||||
testutil.CgroupsCompatibleV2(t)
|
||||
|
||||
taskCfg := newTaskConfig("", []string{"sh", "-c", `sleep 2 && x=a && while true; do x="$x$x"; done`})
|
||||
task := &drivers.TaskConfig{
|
||||
|
||||
Reference in New Issue
Block a user