From a75f96ae906cc90ca751a35f552760f10c756a76 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Wed, 22 Jul 2020 10:03:45 -0400 Subject: 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 --- test/e2e/run_restart_test.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'test/e2e/run_restart_test.go') 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)) }) -- cgit v1.2.3-54-g00ecf