From 8fa4da5f74a6c969bf0e3c9bc8703f8c7cd396c5 Mon Sep 17 00:00:00 2001 From: Felix Bartels <1257835+fbartels@users.noreply.github.com> Date: Thu, 24 Oct 2019 18:49:41 +0200 Subject: [PATCH] further goss checks (#270) * check for running kopano-server * run goss during startup test for kopano-server --- core/goss/server/goss.yaml | 3 +++ tests/startup-test/test.sh | 3 +++ 2 files changed, 6 insertions(+) diff --git a/core/goss/server/goss.yaml b/core/goss/server/goss.yaml index 9b651ca..5981560 100644 --- a/core/goss/server/goss.yaml +++ b/core/goss/server/goss.yaml @@ -23,6 +23,9 @@ file: owner: kopano group: kopano filetype: socket +process: + kopano-server: + running: true http: http://localhost:236: status: 405 diff --git a/tests/startup-test/test.sh b/tests/startup-test/test.sh index 4896b26..93b8c5f 100755 --- a/tests/startup-test/test.sh +++ b/tests/startup-test/test.sh @@ -21,6 +21,9 @@ dockerize \ -wait tcp://kopano_zpush:80 \ -timeout 120s +# until goss is part of the general testsuite check goss for kopano-server here as well +docker exec kopano_server goss -g /kopano/goss/server/goss.yaml validate + # make sure the public store exists docker exec kopano_server kopano-storeadm -h default: -P || true