mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-06 07:54:22 +01:00
Merge pull request #1630 from GabyCT/topic/skiptest
test: Skip namespace test on Centos
This commit is contained in:
@@ -69,6 +69,10 @@ func TestHostNetworkingRequested(t *testing.T) {
|
||||
t.Skip(ktu.TestDisabledNeedRoot)
|
||||
}
|
||||
|
||||
if tc.NotValid(ktu.NeedKernelVersionGE("3.19.0")) {
|
||||
t.Skip("skipping this test as it requires a greater kernel version")
|
||||
}
|
||||
|
||||
// Network namespace same as the host
|
||||
selfNsPath := "/proc/self/ns/net"
|
||||
isHostNs, err := hostNetworkingRequested(selfNsPath)
|
||||
|
||||
Reference in New Issue
Block a user