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 53ddb5411c fix(e2e): retry storage compose up and extend wait-timeout
(opengauss)
53ddb5411c is described below
commit 53ddb5411c0253dd23b60e428d86fcbd19c62533
Author: aias00 <[email protected]>
AuthorDate: Thu Oct 15 19:23:00 2026 -0700
fix(e2e): retry storage compose up and extend wait-timeout (opengauss)
---
.../compose/script/e2e-opengauss-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-opengauss-compose.sh
b/shenyu-e2e/shenyu-e2e-case/shenyu-e2e-case-storage/compose/script/e2e-opengauss-compose.sh
index 50ea22de2f..c29a62ff69 100644
---
a/shenyu-e2e/shenyu-e2e-case/shenyu-e2e-case-storage/compose/script/e2e-opengauss-compose.sh
+++
b/shenyu-e2e/shenyu-e2e-case/shenyu-e2e-case-storage/compose/script/e2e-opengauss-compose.sh
@@ -41,7 +41,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