summaryrefslogtreecommitdiff
path: root/test/e2e
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2019-03-26 08:08:40 -0500
committerbaude <bbaude@redhat.com>2019-03-26 10:14:58 -0500
commit7f2221d48f7d0df8cc5beed70ff5dbc57bca3529 (patch)
tree7676e6ac3bd0ab34970d7a8f2616e4ebc5cd7ad8 /test/e2e
parent60b009af4ef1415b83e0419ba41381912693ab86 (diff)
downloadpodman-7f2221d48f7d0df8cc5beed70ff5dbc57bca3529.tar.gz
podman-7f2221d48f7d0df8cc5beed70ff5dbc57bca3529.tar.bz2
podman-7f2221d48f7d0df8cc5beed70ff5dbc57bca3529.zip
size is optional for container inspection
on the remote client, if a user wants to know the rootfs size of a container, a -s should be passed. this corrects a behavior where size was shown by default. Fixes #2765 Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'test/e2e')
-rw-r--r--test/e2e/healthcheck_run_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/e2e/healthcheck_run_test.go b/test/e2e/healthcheck_run_test.go
index ec97fdf4a..cd2365ce7 100644
--- a/test/e2e/healthcheck_run_test.go
+++ b/test/e2e/healthcheck_run_test.go
@@ -135,6 +135,7 @@ var _ = Describe("Podman healthcheck run", func() {
})
It("podman healthcheck good check results in healthy even in start-period", func() {
+ SkipIfRootless()
session := podmanTest.Podman([]string{"run", "-dt", "--name", "hc", "--healthcheck-start-period", "2m", "--healthcheck-retries", "2", "--healthcheck-command", "\"CMD-SHELL\" \"ls\" \"||\" \"exit\" \"1\"", ALPINE, "top"})
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))
@@ -148,6 +149,7 @@ var _ = Describe("Podman healthcheck run", func() {
})
It("podman healthcheck single healthy result changes failed to healthy", func() {
+ SkipIfRootless()
session := podmanTest.Podman([]string{"run", "-dt", "--name", "hc", "--healthcheck-retries", "2", "--healthcheck-command", "\"CMD-SHELL\" \"ls\" \"/foo\" \"||\" \"exit\" \"1\"", ALPINE, "top"})
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))