This is an automated email from the ASF dual-hosted git repository.
Aias00 pushed a commit to branch fix/e2e-required-check-infra-unblock
in repository https://gitbox.apache.org/repos/asf/shenyu.git
The following commit(s) were added to
refs/heads/fix/e2e-required-check-infra-unblock by this push:
new ac1c08e77f fix(e2e): retry storage compose up and extend wait-timeout
(h2)
ac1c08e77f is described below
commit ac1c08e77fe9e5f20dbe7d2a7b2e8b376f1130e0
Author: aias00 <[email protected]>
AuthorDate: Thu Oct 15 19:23:01 2026 -0700
fix(e2e): retry storage compose up and extend wait-timeout (h2)
---
.../compose/script/e2e-h2-compose.sh | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git
a/shenyu-e2e/shenyu-e2e-case/shenyu-e2e-case-storage/compose/script/e2e-h2-compose.sh
b/shenyu-e2e/shenyu-e2e-case/shenyu-e2e-case-storage/compose/script/e2e-h2-compose.sh
index eafc0c627b..03392f4b28 100644
---
a/shenyu-e2e/shenyu-e2e-case/shenyu-e2e-case-storage/compose/script/e2e-h2-compose.sh
+++
b/shenyu-e2e/shenyu-e2e-case/shenyu-e2e-case-storage/compose/script/e2e-h2-compose.sh
@@ -36,7 +36,20 @@ dump_logs() {
echo "------------------"
docker compose -f "$COMPOSE_FILE" logs shenyu-bootstrap || true
}
-if ! docker compose -f "$COMPOSE_FILE" up -d --quiet-pull --wait
--wait-timeout 300; then
+# Retry compose up to survive transient Docker Hub image pull limits /
timeouts.
+wait_for_compose() {
+ local attempt
+ for attempt in 1 2 3; do
+ if docker compose -f "$COMPOSE_FILE" up -d --quiet-pull --wait
--wait-timeout 600; then
+ return 0
+ fi
+ echo "docker compose up attempt ${attempt} failed, retrying in 15s..."
+ docker compose -f "$COMPOSE_FILE" down || true
+ sleep 15
+ done
+ return 1
+}
+if ! wait_for_compose; then
dump_logs
exit 1
fi