mirror of
https://github.com/containers/podman.git
synced 2025-06-26 04:46:57 +08:00
e2e tests: SkipIfRemote(): add a reason
Now that Dan has added helpful comments to each SkipIfRemote, let's take the next step and include those messages in the Skip() output so someone viewing test results can easily see if a remote test is skipped for a real reason or for a FIXME. This commit is the result of a simple: perl -pi -e 's;(SkipIfRemote)\(\)(\s+//\s+(.*))?;$1("$3");' *.go in the test/e2e directory, with a few minor (manual) changes in wording. Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
@ -225,7 +225,7 @@ var _ = Describe("Podman pod create", func() {
|
||||
})
|
||||
|
||||
It("podman pod container can override pod pid NS", func() {
|
||||
SkipIfRemote() // FIXME This should work on podman-remote
|
||||
SkipIfRemote("FIXME This should work on podman-remote")
|
||||
session := podmanTest.Podman([]string{"pod", "create", "--share", "pid"})
|
||||
session.WaitWithDefaultTimeout()
|
||||
Expect(session.ExitCode()).To(Equal(0))
|
||||
@ -257,7 +257,7 @@ var _ = Describe("Podman pod create", func() {
|
||||
})
|
||||
|
||||
It("podman pod container can override pod not sharing pid", func() {
|
||||
SkipIfRemote() // FIXME This should work on podman-remote
|
||||
SkipIfRemote("FIXME This should work on podman-remote")
|
||||
session := podmanTest.Podman([]string{"pod", "create", "--share", "net"})
|
||||
session.WaitWithDefaultTimeout()
|
||||
Expect(session.ExitCode()).To(Equal(0))
|
||||
@ -283,7 +283,7 @@ var _ = Describe("Podman pod create", func() {
|
||||
})
|
||||
|
||||
It("podman pod container can override pod ipc NS", func() {
|
||||
SkipIfRemote() // FIXME This should work on podman-remote
|
||||
SkipIfRemote("FIXME This should work on podman-remote")
|
||||
session := podmanTest.Podman([]string{"pod", "create", "--share", "ipc"})
|
||||
session.WaitWithDefaultTimeout()
|
||||
Expect(session.ExitCode()).To(Equal(0))
|
||||
@ -380,7 +380,7 @@ var _ = Describe("Podman pod create", func() {
|
||||
})
|
||||
|
||||
It("podman run --add-host in pod", func() {
|
||||
SkipIfRemote() // FIXME This should work on podman-remote
|
||||
SkipIfRemote("FIXME This should work on podman-remote")
|
||||
session := podmanTest.Podman([]string{"pod", "create"})
|
||||
session.WaitWithDefaultTimeout()
|
||||
Expect(session.ExitCode()).To(Equal(0))
|
||||
|
Reference in New Issue
Block a user