diff --git a/integration/exec_test.go b/integration/exec_test.go index 8c0c2b68..faa3fc15 100644 --- a/integration/exec_test.go +++ b/integration/exec_test.go @@ -384,12 +384,12 @@ func TestFreeze(t *testing.T) { if err != nil { t.Fatal(err) } - if state != configs.Paused { - t.Fatal("Unexpected state: ", state) - } if err := container.Resume(); err != nil { t.Fatal(err) } + if state != configs.Paused { + t.Fatal("Unexpected state: ", state) + } stdinW.Close() s, err := process.Wait() diff --git a/integration/template_test.go b/integration/template_test.go index d58bb613..834099d2 100644 --- a/integration/template_test.go +++ b/integration/template_test.go @@ -40,6 +40,7 @@ func newTemplateConfig(rootfs string) *configs.Config { {Name: "NEWNET"}, }, Cgroups: &cgroups.Cgroup{ + Name: "test", Parent: "integration", AllowAllDevices: false, AllowedDevices: devices.DefaultAllowedDevices,