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 8032de36e test(cluster): fail smoke when recovery read exhausts retries
8032de36e is described below
commit 8032de36e15f6113b8c70cb390e36839e7fe58fb
Author: vaughn <[email protected]>
AuthorDate: Sun Sep 13 15:14:12 2026 +0800
test(cluster): fail smoke when recovery read exhausts retries
---
tools/rust-rewrite-cluster/smoke.sh | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/tools/rust-rewrite-cluster/smoke.sh
b/tools/rust-rewrite-cluster/smoke.sh
index af81d1981..e9f0f1ea7 100755
--- a/tools/rust-rewrite-cluster/smoke.sh
+++ b/tools/rust-rewrite-cluster/smoke.sh
@@ -51,12 +51,18 @@ for port in 8620 8621 8622; do health
"http://127.0.0.1:$port"; done
"${compose[@]}" stop store0 >/dev/null
sleep 20
for port in 8081 8082; do
+ read_ok=false
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
+ read_ok=true
break
fi
sleep 3
done
+ if [[ "$read_ok" != true ]]; then
+ echo "read failed after recovery retries: server=$port
fixture=$fixture_id" >&2
+ exit 1
+ fi
done
"${compose[@]}" start store0 >/dev/null
sleep 20