You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hop.apache.org by ha...@apache.org on 2021/06/04 09:54:02 UTC

[incubator-hop] branch master updated: HOP-2938: change healthcheck on neo4j container

This is an automated email from the ASF dual-hosted git repository.

hansva pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hop.git


The following commit(s) were added to refs/heads/master by this push:
     new 5fc3ce7  HOP-2938: change healthcheck on neo4j container
     new 9e93d8c  Merge pull request #852 from hansva/master
5fc3ce7 is described below

commit 5fc3ce7b9b9730ac56ac2093597c3fca657243e3
Author: Hans Van Akelyen <ha...@gmail.com>
AuthorDate: Fri Jun 4 11:53:22 2021 +0200

    HOP-2938: change healthcheck on neo4j container
---
 docker/integration-tests/integration-tests-neo4j.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docker/integration-tests/integration-tests-neo4j.yaml b/docker/integration-tests/integration-tests-neo4j.yaml
index 6926281..34af5e2 100644
--- a/docker/integration-tests/integration-tests-neo4j.yaml
+++ b/docker/integration-tests/integration-tests-neo4j.yaml
@@ -35,7 +35,7 @@ services:
     environment:
       - NEO4J_AUTH=neo4j/abcd
     healthcheck:
-      test: echo 'ok'
+      test: perl -MIO::Socket::INET -e 'exit(! defined( IO::Socket::INET->new("localhost:7687")))'
       interval: 10s
       timeout: 10s
       retries: 5
\ No newline at end of file