From 47e06bb715625678f110d267b84ce0d62bb5a561 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20M=C3=BCller?= Date: Fri, 27 Mar 2026 13:37:01 +0100 Subject: [PATCH 1/2] Add health check for etherpad service Added a step to wait for the etherpad service to be healthy before scanning. --- .github/workflows/e2e-test.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index 13a04fe..2337321 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -148,6 +148,13 @@ jobs: - name: Install dependencies run: composer install --prefer-dist --no-progress + - name: Wait until etherpad is healthy + run: | + until curl -s -f -o /dev/null "http://localhost:8080/etherpad" + do + sleep 2 + done + - name: Scan etherpad instance run: | set -euo pipefail From 8275fb6ddb5bfca9e17b69259c42d30ca4c4566e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20M=C3=BCller?= Date: Fri, 27 Mar 2026 13:41:53 +0100 Subject: [PATCH 2/2] Add health check for etherpad in e2e test workflow Added a step to wait for etherpad to be healthy before scanning. --- .github/workflows/e2e-test.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index 2337321..34e0305 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -381,6 +381,13 @@ jobs: - name: Install dependencies run: composer install --prefer-dist --no-progress + - name: Wait until etherpad is healthy + run: | + until curl -s -f -o /dev/null "http://localhost:9001" + do + sleep 2 + done + - name: Scan etherpad instance run: | set -euo pipefail