summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-03-26 09:55:54 -0700
committerGitHub <noreply@github.com>2019-03-26 09:55:54 -0700
commitaa079016bdfbe498b27cc81006860e9d588abe49 (patch)
tree7676e6ac3bd0ab34970d7a8f2616e4ebc5cd7ad8 /test
parent60b009af4ef1415b83e0419ba41381912693ab86 (diff)
parent7f2221d48f7d0df8cc5beed70ff5dbc57bca3529 (diff)
downloadpodman-aa079016bdfbe498b27cc81006860e9d588abe49.tar.gz
podman-aa079016bdfbe498b27cc81006860e9d588abe49.tar.bz2
podman-aa079016bdfbe498b27cc81006860e9d588abe49.zip
Merge pull request #2771 from baude/issue2765
size is optional for container inspection
Diffstat (limited to 'test')
-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))