mirror of
https://github.com/containers/podman.git
synced 2025-10-13 01:06:10 +08:00
v2 enable remote integration tests
enable remote integration tests Signed-off-by: Brent Baude <bbaude@redhat.com>
This commit is contained in:
@ -35,6 +35,7 @@ var _ = Describe("Podman create", func() {
|
||||
})
|
||||
|
||||
It("podman create container based on a local image", func() {
|
||||
Skip(v2remotefail)
|
||||
session := podmanTest.Podman([]string{"create", ALPINE, "ls"})
|
||||
session.WaitWithDefaultTimeout()
|
||||
cid := session.OutputToString()
|
||||
@ -80,6 +81,7 @@ var _ = Describe("Podman create", func() {
|
||||
})
|
||||
|
||||
It("podman create adds annotation", func() {
|
||||
Skip(v2remotefail)
|
||||
session := podmanTest.Podman([]string{"create", "--annotation", "HELLO=WORLD", ALPINE, "ls"})
|
||||
session.WaitWithDefaultTimeout()
|
||||
Expect(session.ExitCode()).To(Equal(0))
|
||||
@ -94,6 +96,7 @@ var _ = Describe("Podman create", func() {
|
||||
})
|
||||
|
||||
It("podman create --entrypoint command", func() {
|
||||
Skip(v2remotefail)
|
||||
session := podmanTest.Podman([]string{"create", "--entrypoint", "/bin/foobar", ALPINE})
|
||||
session.WaitWithDefaultTimeout()
|
||||
Expect(session.ExitCode()).To(Equal(0))
|
||||
@ -118,6 +121,7 @@ var _ = Describe("Podman create", func() {
|
||||
})
|
||||
|
||||
It("podman create --entrypoint json", func() {
|
||||
Skip(v2remotefail)
|
||||
jsonString := `[ "/bin/foo", "-c"]`
|
||||
session := podmanTest.Podman([]string{"create", "--entrypoint", jsonString, ALPINE})
|
||||
session.WaitWithDefaultTimeout()
|
||||
@ -131,6 +135,7 @@ var _ = Describe("Podman create", func() {
|
||||
})
|
||||
|
||||
It("podman create --mount flag with multiple mounts", func() {
|
||||
Skip(v2remotefail)
|
||||
vol1 := filepath.Join(podmanTest.TempDir, "vol-test1")
|
||||
err := os.MkdirAll(vol1, 0755)
|
||||
Expect(err).To(BeNil())
|
||||
@ -156,6 +161,7 @@ var _ = Describe("Podman create", func() {
|
||||
if podmanTest.Host.Arch == "ppc64le" {
|
||||
Skip("skip failing test on ppc64le")
|
||||
}
|
||||
Skip(v2remotefail)
|
||||
mountPath := filepath.Join(podmanTest.TempDir, "secrets")
|
||||
os.Mkdir(mountPath, 0755)
|
||||
session := podmanTest.Podman([]string{"create", "--name", "test", "--mount", fmt.Sprintf("type=bind,src=%s,target=/create/test", mountPath), ALPINE, "grep", "/create/test", "/proc/self/mountinfo"})
|
||||
|
Reference in New Issue
Block a user