diff options
author | Sankalp Rangare <sankalprangare786@gmail.com> | 2021-09-16 20:34:39 +0530 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2021-09-29 16:39:29 -0400 |
commit | 5e9aa13dc03e022db91135be2cb001c35eef0d08 (patch) | |
tree | d0ec0e0bf57b1ca7643298c69c5b56b77145008c /test | |
parent | 6638a91e8ecbcc0d0c8079216e347fd650543682 (diff) | |
download | podman-5e9aa13dc03e022db91135be2cb001c35eef0d08.tar.gz podman-5e9aa13dc03e022db91135be2cb001c35eef0d08.tar.bz2 podman-5e9aa13dc03e022db91135be2cb001c35eef0d08.zip |
added healthcheck to ps command
Signed-off-by: Sankalp Rangare <sankalprangare786@gmail.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/e2e/healthcheck_run_test.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/e2e/healthcheck_run_test.go b/test/e2e/healthcheck_run_test.go index 1445a634b..b30e8b810 100644 --- a/test/e2e/healthcheck_run_test.go +++ b/test/e2e/healthcheck_run_test.go @@ -80,6 +80,11 @@ var _ = Describe("Podman healthcheck run", func() { time.Sleep(1 * time.Second) } Expect(exitCode).To(Equal(0)) + + ps := podmanTest.Podman([]string{"ps"}) + ps.WaitWithDefaultTimeout() + Expect(ps).Should(Exit(0)) + Expect(ps.OutputToString()).To(ContainSubstring("(healthy)")) }) It("podman healthcheck that should fail", func() { |