summaryrefslogtreecommitdiff
path: root/test/e2e/start_test.go
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2020-04-30 12:24:54 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2020-04-30 15:49:12 +0200
commitaef7836b38570eb48bd0fd1c1c4ca37e9a9022f4 (patch)
tree5f11710290313daead280b0ce4edf630bcbad402 /test/e2e/start_test.go
parent9d373408b57d42a9677eac6f268bfd443a67251c (diff)
downloadpodman-aef7836b38570eb48bd0fd1c1c4ca37e9a9022f4.tar.gz
podman-aef7836b38570eb48bd0fd1c1c4ca37e9a9022f4.tar.bz2
podman-aef7836b38570eb48bd0fd1c1c4ca37e9a9022f4.zip
test: enable start tests
`docker start` doesn't resolve partial ID -> full ID, adapt test. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'test/e2e/start_test.go')
-rw-r--r--test/e2e/start_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/e2e/start_test.go b/test/e2e/start_test.go
index 5f6f5a8cf..6af0b7068 100644
--- a/test/e2e/start_test.go
+++ b/test/e2e/start_test.go
@@ -17,7 +17,6 @@ var _ = Describe("Podman start", func() {
)
BeforeEach(func() {
- Skip(v2fail)
tempdir, err = CreateTempDirInTempDir()
if err != nil {
os.Exit(1)
@@ -66,10 +65,11 @@ var _ = Describe("Podman start", func() {
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))
cid := session.OutputToString()
- session = podmanTest.Podman([]string{"container", "start", cid[0:10]})
+ shortID := cid[0:10]
+ session = podmanTest.Podman([]string{"container", "start", shortID})
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))
- Expect(session.OutputToString()).To(Equal(cid))
+ Expect(session.OutputToString()).To(Equal(shortID))
})
It("podman start single container by name", func() {