mirror of
https://github.com/containers/podman.git
synced 2025-06-21 01:19:15 +08:00
Attempt to test all Broken SkipIfRootless FIXME
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@ -189,7 +189,6 @@ var _ = Describe("Podman mount", func() {
|
|||||||
})
|
})
|
||||||
|
|
||||||
It("podman list running container", func() {
|
It("podman list running container", func() {
|
||||||
SkipIfRootless("FIXME: We need to do a podman unshare before executing this code.")
|
|
||||||
|
|
||||||
setup := podmanTest.Podman([]string{"run", "-dt", ALPINE, "top"})
|
setup := podmanTest.Podman([]string{"run", "-dt", ALPINE, "top"})
|
||||||
setup.WaitWithDefaultTimeout()
|
setup.WaitWithDefaultTimeout()
|
||||||
@ -212,7 +211,6 @@ var _ = Describe("Podman mount", func() {
|
|||||||
})
|
})
|
||||||
|
|
||||||
It("podman list multiple mounted containers", func() {
|
It("podman list multiple mounted containers", func() {
|
||||||
SkipIfRootless("FIXME: We need to do a podman unshare before executing this code.")
|
|
||||||
|
|
||||||
setup := podmanTest.Podman([]string{"create", ALPINE, "ls"})
|
setup := podmanTest.Podman([]string{"create", ALPINE, "ls"})
|
||||||
setup.WaitWithDefaultTimeout()
|
setup.WaitWithDefaultTimeout()
|
||||||
@ -257,7 +255,6 @@ var _ = Describe("Podman mount", func() {
|
|||||||
})
|
})
|
||||||
|
|
||||||
It("podman list mounted container", func() {
|
It("podman list mounted container", func() {
|
||||||
SkipIfRootless("FIXME: We need to do a podman unshare before executing this code.")
|
|
||||||
|
|
||||||
setup := podmanTest.Podman([]string{"create", ALPINE, "ls"})
|
setup := podmanTest.Podman([]string{"create", ALPINE, "ls"})
|
||||||
setup.WaitWithDefaultTimeout()
|
setup.WaitWithDefaultTimeout()
|
||||||
|
@ -135,7 +135,6 @@ var _ = Describe("Podman network", func() {
|
|||||||
})
|
})
|
||||||
|
|
||||||
It("podman network rm", func() {
|
It("podman network rm", func() {
|
||||||
SkipIfRootless("FIXME: This one is definitely broken in rootless mode")
|
|
||||||
// Setup, use uuid to prevent conflict with other tests
|
// Setup, use uuid to prevent conflict with other tests
|
||||||
uuid := stringid.GenerateNonCryptoID()
|
uuid := stringid.GenerateNonCryptoID()
|
||||||
secondPath := filepath.Join(podmanTest.CNIConfigDir, fmt.Sprintf("%s.conflist", uuid))
|
secondPath := filepath.Join(podmanTest.CNIConfigDir, fmt.Sprintf("%s.conflist", uuid))
|
||||||
|
@ -18,7 +18,6 @@ var _ = Describe("Podman run memory", func() {
|
|||||||
BeforeEach(func() {
|
BeforeEach(func() {
|
||||||
SkipIfRootlessCgroupsV1("Setting Memory not supported on cgroupv1 for rootless users")
|
SkipIfRootlessCgroupsV1("Setting Memory not supported on cgroupv1 for rootless users")
|
||||||
|
|
||||||
SkipIfRootless("FIXME: This should work on cgroups V2 systems")
|
|
||||||
tempdir, err = CreateTempDirInTempDir()
|
tempdir, err = CreateTempDirInTempDir()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
|
Reference in New Issue
Block a user