summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-09-11 18:09:36 -0400
committerGitHub <noreply@github.com>2021-09-11 18:09:36 -0400
commit72662f790bad0a3dc26a6a1498b6daa936702bb6 (patch)
tree602f6d9d4264ac84e4365df9edfd87767b7175a7 /pkg
parentec3037062d1f9a5ece00ffd465c0f815c06f1b5c (diff)
parent4fbc5b8fe75b3d486a97c013af7a6b085292b46a (diff)
downloadpodman-72662f790bad0a3dc26a6a1498b6daa936702bb6.tar.gz
podman-72662f790bad0a3dc26a6a1498b6daa936702bb6.tar.bz2
podman-72662f790bad0a3dc26a6a1498b6daa936702bb6.zip
Merge pull request #11525 from rhatdan/healthcheck
Stop outputting 'healthy' on healthcheck
Diffstat (limited to 'pkg')
-rw-r--r--pkg/bindings/test/containers_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/bindings/test/containers_test.go b/pkg/bindings/test/containers_test.go
index 4d1361746..b9ed67255 100644
--- a/pkg/bindings/test/containers_test.go
+++ b/pkg/bindings/test/containers_test.go
@@ -326,11 +326,11 @@ var _ = Describe("Podman containers ", func() {
// TODO for the life of me, i cannot get this to work. maybe another set
// of eyes will
// successful healthcheck
- //status := "healthy"
+ //status := define.HealthCheckHealthy
//for i:=0; i < 10; i++ {
// result, err := containers.RunHealthCheck(connText, "hc")
// Expect(err).To(BeNil())
- // if result.Status != "healthy" {
+ // if result.Status != define.HealthCheckHealthy {
// fmt.Println("Healthcheck container still starting, retrying in 1 second")
// time.Sleep(1 * time.Second)
// continue
@@ -338,7 +338,7 @@ var _ = Describe("Podman containers ", func() {
// status = result.Status
// break
//}
- //Expect(status).To(Equal("healthy"))
+ //Expect(status).To(Equal(define.HealthCheckHealthy))
// TODO enable this when wait is working
// healthcheck on a stopped container should be a 409