temporarily disable CRIU tests

Ubuntu kernel is temporarily broken: https://github.com/opencontainers/runc/pull/2198#issuecomment-571124087

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
Akihiro Suda 2020-01-07 19:59:52 +09:00
parent 5c20ea1472
commit 55f8c254be
1 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,7 @@ func showFile(t *testing.T, fname string) error {
} }
func TestUsernsCheckpoint(t *testing.T) { func TestUsernsCheckpoint(t *testing.T) {
t.Skip("Ubuntu kernel is broken to run criu (#2196, #2198)")
if _, err := os.Stat("/proc/self/ns/user"); os.IsNotExist(err) { if _, err := os.Stat("/proc/self/ns/user"); os.IsNotExist(err) {
t.Skip("userns is unsupported") t.Skip("userns is unsupported")
} }
@ -53,6 +54,7 @@ func TestUsernsCheckpoint(t *testing.T) {
} }
func TestCheckpoint(t *testing.T) { func TestCheckpoint(t *testing.T) {
t.Skip("Ubuntu kernel is broken to run criu (#2196, #2198)")
testCheckpoint(t, false) testCheckpoint(t, false)
} }