diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2020-07-22 10:03:45 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2020-07-22 13:13:28 -0400 |
commit | a75f96ae906cc90ca751a35f552760f10c756a76 (patch) | |
tree | fee7b838a352aafaabd86907c29ed83b1497afba /test/e2e/run_restart_test.go | |
parent | 80add2902cf3561d2c9f91dc045076519cd297d5 (diff) | |
download | podman-a75f96ae906cc90ca751a35f552760f10c756a76.tar.gz podman-a75f96ae906cc90ca751a35f552760f10c756a76.tar.bz2 podman-a75f96ae906cc90ca751a35f552760f10c756a76.zip |
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>
Diffstat (limited to 'test/e2e/run_restart_test.go')
-rw-r--r-- | test/e2e/run_restart_test.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/e2e/run_restart_test.go b/test/e2e/run_restart_test.go index 0a1c7e134..fa9cb2495 100644 --- a/test/e2e/run_restart_test.go +++ b/test/e2e/run_restart_test.go @@ -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)) }) |