From 18b6c3bb61a3ad648d941da8b907a03cd059dced Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Mon, 27 Apr 2026 07:51:58 +0100 Subject: [PATCH] fix(docker): recognize current gateway readiness logs --- scripts/e2e/lib/bundled-channel/channel.sh | 2 +- scripts/e2e/lib/bundled-channel/root-owned.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/e2e/lib/bundled-channel/channel.sh b/scripts/e2e/lib/bundled-channel/channel.sh index bea81fe4061..4226b7df5b0 100644 --- a/scripts/e2e/lib/bundled-channel/channel.sh +++ b/scripts/e2e/lib/bundled-channel/channel.sh @@ -238,7 +238,7 @@ start_gateway() { # Cold bundled dependency staging can exceed 60s under 10-way Docker aggregate load. for _ in $(seq 1 1200); do - if grep -Eq "listening on ws://|\\[gateway\\] ready \\(" "$log_file"; then + if grep -Eq "listening on ws://|\\[gateway\\] http server listening|\\[gateway\\] ready( \\(|$)" "$log_file"; then return 0 fi if ! kill -0 "$gateway_pid" 2>/dev/null; then diff --git a/scripts/e2e/lib/bundled-channel/root-owned.sh b/scripts/e2e/lib/bundled-channel/root-owned.sh index 8b2f57bed7a..ae51c46631a 100644 --- a/scripts/e2e/lib/bundled-channel/root-owned.sh +++ b/scripts/e2e/lib/bundled-channel/root-owned.sh @@ -109,7 +109,7 @@ start_gateway() { # Cold bundled dependency staging can exceed 60s under 10-way Docker aggregate load. for _ in $(seq 1 1200); do - if grep -Eq "listening on ws://|\\[gateway\\] ready \\(" "$log_file"; then + if grep -Eq "listening on ws://|\\[gateway\\] http server listening|\\[gateway\\] ready( \\(|$)" "$log_file"; then return 0 fi if ! kill -0 "$gateway_pid" 2>/dev/null; then