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 9237c047a test(cluster): wait for store recovery convergence
9237c047a is described below

commit 9237c047ab22fa64f485357062af52a336fb4c6c
Author: vaughn <[email protected]>
AuthorDate: Sun Sep 13 18:08:44 2026 +0800

    test(cluster): wait for store recovery convergence
---
 tools/rust-rewrite-cluster/smoke.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/tools/rust-rewrite-cluster/smoke.sh 
b/tools/rust-rewrite-cluster/smoke.sh
index 880d7198b..6a429abd9 100755
--- a/tools/rust-rewrite-cluster/smoke.sh
+++ b/tools/rust-rewrite-cluster/smoke.sh
@@ -65,7 +65,11 @@ sleep 20
 # A stopped store may legitimately block requests whose shard leader is it.
 # Recovery is asserted after the process is restarted and the raft group 
settles.
 "${compose[@]}" start store0 >/dev/null
-sleep 20
+for attempt in {1..12}; do
+  if health "http://127.0.0.1:8520";; then break; fi
+  sleep 5
+done
+sleep 30
 curl_local -fsS --max-time 10 
"$base_server/graphs/hugegraph/graph/vertices/%22$fixture_id%22" | grep -q 
'committed'
 
 echo "cluster smoke passed fixture=$fixture_id"

Reply via email to