mirror of
https://github.com/containers/podman.git
synced 2025-06-20 17:13:43 +08:00
Turn on a bunch more remote tests
We need to be more specific about the remote tests we turn off. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@ -1,5 +1,3 @@
|
||||
// +build !remote
|
||||
|
||||
package integration
|
||||
|
||||
import (
|
||||
@ -35,11 +33,12 @@ var _ = Describe("Podman run restart containers", func() {
|
||||
})
|
||||
|
||||
It("Podman start after successful run", func() {
|
||||
session := podmanTest.Podman([]string{"run", ALPINE, "ls"})
|
||||
SkipIfRemote()
|
||||
session := podmanTest.Podman([]string{"run", "--name", "test", ALPINE, "ls"})
|
||||
session.WaitWithDefaultTimeout()
|
||||
Expect(session.ExitCode()).To(Equal(0))
|
||||
|
||||
session2 := podmanTest.Podman([]string{"start", "--attach", "--latest"})
|
||||
session2 := podmanTest.Podman([]string{"start", "--attach", "test"})
|
||||
session2.WaitWithDefaultTimeout()
|
||||
Expect(session2.ExitCode()).To(Equal(0))
|
||||
})
|
||||
|
Reference in New Issue
Block a user