This is an automated email from the ASF dual-hosted git repository.

zyxxoo pushed a commit to branch refactor/rust-rewrite-design
in repository https://gitbox.apache.org/repos/asf/hugegraph.git


The following commit(s) were added to refs/heads/refactor/rust-rewrite-design 
by this push:
     new 65eaedfb7 test(cluster): retry reads during store recovery
65eaedfb7 is described below

commit 65eaedfb73a9c1972379991ea989d09b604ea138
Author: vaughn <[email protected]>
AuthorDate: Sun Sep 13 15:09:00 2026 +0800

    test(cluster): retry reads during store recovery
---
 tools/rust-rewrite-cluster/smoke.sh | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/tools/rust-rewrite-cluster/smoke.sh 
b/tools/rust-rewrite-cluster/smoke.sh
index d182669d2..af81d1981 100755
--- a/tools/rust-rewrite-cluster/smoke.sh
+++ b/tools/rust-rewrite-cluster/smoke.sh
@@ -49,8 +49,15 @@ sleep 15
 for port in 8620 8621 8622; do health "http://127.0.0.1:$port";; done
 
 "${compose[@]}" stop store0 >/dev/null
-sleep 12
-for port in 8081 8082; do curl_local -fsS --max-time 10 
"http://127.0.0.1:$port/graphs/hugegraph/graph/vertices/%22$fixture_id%22"; | 
grep -q 'committed'; done
+sleep 20
+for port in 8081 8082; do
+  for attempt in 1 2 3 4 5; do
+    if curl_local -fsS --max-time 15 
"http://127.0.0.1:$port/graphs/hugegraph/graph/vertices/%22$fixture_id%22"; | 
grep -q 'committed'; then
+      break
+    fi
+    sleep 3
+  done
+done
 "${compose[@]}" start store0 >/dev/null
 sleep 20
 curl_local -fsS --max-time 10 
"$base_server/graphs/hugegraph/graph/vertices/%22$fixture_id%22" | grep -q 
'committed'

Reply via email to