diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-09-24 16:51:28 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-24 16:51:28 -0400 |
commit | e19a09c3dfb90e12078e0af4ca2cfc45677c6d68 (patch) | |
tree | 3dea7ab26a62d0e0e9167be985e8761fb9ab3cdc /test | |
parent | 5b88e8ba82c22dc7f39f11d5e12538a4e440d85f (diff) | |
parent | 1e0039a839ea019a43fe21feb7658a2c0b5e3099 (diff) | |
download | podman-e19a09c3dfb90e12078e0af4ca2cfc45677c6d68.tar.gz podman-e19a09c3dfb90e12078e0af4ca2cfc45677c6d68.tar.bz2 podman-e19a09c3dfb90e12078e0af4ca2cfc45677c6d68.zip |
Merge pull request #11609 from sankalp-r/add-healthcheck-ps
added healthcheck to ps command
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 2826f2b34..b2666c789 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() { |