tests: skip checking rdma cgroup
rdma was added in most recent kernels and libcontainer/docker don't isolate them by default.
This commit is contained in:
parent
095dba72ac
commit
e6e71fb47a
|
@ -466,8 +466,9 @@ func TestExecDriver_HandlerExec(t *testing.T) {
|
|||
if line == "" {
|
||||
continue
|
||||
}
|
||||
// Skip systemd cgroup
|
||||
if strings.HasPrefix(line, "1:name=systemd") {
|
||||
// Skip systemd and rdma cgroups; rdma was added in most recent kernels and libcontainer/docker
|
||||
// don't isolate them by default.
|
||||
if strings.HasPrefix(line, "1:name=systemd") || strings.Contains(line, ":rdma:") {
|
||||
continue
|
||||
}
|
||||
if !strings.Contains(line, ":/nomad/") {
|
||||
|
|
Loading…
Reference in a new issue