aboutsummaryrefslogtreecommitdiff
path: root/test/e2e/init_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-01-18 06:22:05 -0500
committerGitHub <noreply@github.com>2022-01-18 06:22:05 -0500
commitd6b0720b9cd5d993dffc229e73d8377aae2c2ed4 (patch)
treea0efd9dff39774597d87c98dbe089b57af77c726 /test/e2e/init_test.go
parentd0eb24bae0023848447568d024acdaadb632edfe (diff)
parent141de86862898a4b9e35c15f51031952c63c7114 (diff)
downloadpodman-d6b0720b9cd5d993dffc229e73d8377aae2c2ed4.tar.gz
podman-d6b0720b9cd5d993dffc229e73d8377aae2c2ed4.tar.bz2
podman-d6b0720b9cd5d993dffc229e73d8377aae2c2ed4.zip
Merge pull request #12684 from mheon/remap_states
Revamp Libpod state strings for Docker compat
Diffstat (limited to 'test/e2e/init_test.go')
-rw-r--r--test/e2e/init_test.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/e2e/init_test.go b/test/e2e/init_test.go
index 788b67154..729cc7a5a 100644
--- a/test/e2e/init_test.go
+++ b/test/e2e/init_test.go
@@ -57,7 +57,7 @@ var _ = Describe("Podman init", func() {
result.WaitWithDefaultTimeout()
Expect(result).Should(Exit(0))
conData := result.InspectContainerToJSON()
- Expect(conData[0].State.Status).To(Equal("created"))
+ Expect(conData[0].State.Status).To(Equal("initialized"))
})
It("podman init single container by name", func() {
@@ -72,7 +72,7 @@ var _ = Describe("Podman init", func() {
result.WaitWithDefaultTimeout()
Expect(result).Should(Exit(0))
conData := result.InspectContainerToJSON()
- Expect(conData[0].State.Status).To(Equal("created"))
+ Expect(conData[0].State.Status).To(Equal("initialized"))
})
It("podman init latest container", func() {
@@ -87,7 +87,7 @@ var _ = Describe("Podman init", func() {
result.WaitWithDefaultTimeout()
Expect(result).Should(Exit(0))
conData := result.InspectContainerToJSON()
- Expect(conData[0].State.Status).To(Equal("created"))
+ Expect(conData[0].State.Status).To(Equal("initialized"))
})
It("podman init all three containers, one running", func() {
@@ -107,12 +107,12 @@ var _ = Describe("Podman init", func() {
result.WaitWithDefaultTimeout()
Expect(result).Should(Exit(0))
conData := result.InspectContainerToJSON()
- Expect(conData[0].State.Status).To(Equal("created"))
+ Expect(conData[0].State.Status).To(Equal("initialized"))
result2 := podmanTest.Podman([]string{"inspect", "test2"})
result2.WaitWithDefaultTimeout()
Expect(result2).Should(Exit(0))
conData2 := result2.InspectContainerToJSON()
- Expect(conData2[0].State.Status).To(Equal("created"))
+ Expect(conData2[0].State.Status).To(Equal("initialized"))
result3 := podmanTest.Podman([]string{"inspect", "test3"})
result3.WaitWithDefaultTimeout()
Expect(result3).Should(Exit(0))