diff options
author | Sankalp Rangare <sankalprangare786@gmail.com> | 2021-09-16 20:34:39 +0530 |
---|---|---|
committer | Sankalp Rangare <sankalprangare786@gmail.com> | 2021-09-24 20:24:23 +0530 |
commit | 1e0039a839ea019a43fe21feb7658a2c0b5e3099 (patch) | |
tree | 8ef3f89530abc09d8a64215e0ee12a1e4b8d4009 /test/e2e | |
parent | 800d594afa160353cc7134ef912bf82f266a122c (diff) | |
download | podman-1e0039a839ea019a43fe21feb7658a2c0b5e3099.tar.gz podman-1e0039a839ea019a43fe21feb7658a2c0b5e3099.tar.bz2 podman-1e0039a839ea019a43fe21feb7658a2c0b5e3099.zip |
added healthcheck to ps command
Signed-off-by: Sankalp Rangare <sankalprangare786@gmail.com>
Diffstat (limited to 'test/e2e')
-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() { |