summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-09-08 09:56:23 +0200
committerGitHub <noreply@github.com>2021-09-08 09:56:23 +0200
commitae0a9c6c8acd4e675ce4afbff161f9e5857082e6 (patch)
tree85ccfae902261801ab73dee7536d9c5d4c7bc430 /test
parent598d914e625616da49df7c068ffd84135d12571e (diff)
parentbfcd83ecd680fccd2efeadf695a9cd2c603a997f (diff)
downloadpodman-ae0a9c6c8acd4e675ce4afbff161f9e5857082e6.tar.gz
podman-ae0a9c6c8acd4e675ce4afbff161f9e5857082e6.tar.bz2
podman-ae0a9c6c8acd4e675ce4afbff161f9e5857082e6.zip
Merge pull request #11471 from mheon/checkpointed
Add Checkpointed bool to Inspect
Diffstat (limited to 'test')
-rw-r--r--test/e2e/checkpoint_test.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/e2e/checkpoint_test.go b/test/e2e/checkpoint_test.go
index 1c9a8dc6f..403d739f0 100644
--- a/test/e2e/checkpoint_test.go
+++ b/test/e2e/checkpoint_test.go
@@ -93,6 +93,12 @@ var _ = Describe("Podman checkpoint", func() {
Expect(podmanTest.NumberOfContainersRunning()).To(Equal(0))
Expect(podmanTest.GetContainerStatus()).To(ContainSubstring("Exited"))
+ inspect := podmanTest.Podman([]string{"inspect", cid})
+ inspect.WaitWithDefaultTimeout()
+ Expect(inspect).Should(Exit(0))
+ inspectOut := inspect.InspectContainerToJSON()
+ Expect(inspectOut[0].State.Checkpointed).To(BeTrue())
+
result = podmanTest.Podman([]string{"container", "restore", cid})
result.WaitWithDefaultTimeout()