Skip to content

Commit a25cb24

Browse files
committed
kind e2e: a node on the mesh holds routers, it keeps no DHT
get_mesh_info no longer reports dht_size; the check that the local node is on the mesh reads attached_routers instead.
1 parent d4bdbfa commit a25cb24

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎development/kind/test-mesh-e2e.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ mcp() { ./bin/mcp-client -url "$URL" -token "devtoken" -timeout 20 "$@" 2>/dev/n
4242
echo "== get_mesh_info =="
4343
info=$(mcp -tool get_mesh_info -args '{}')
4444
echo "$info"
45-
echo "$info" | jq -e '.router_peer_id != "" and (.dht_size > 0)' >/dev/null \
45+
echo "$info" | jq -e '.router_peer_id != "" and (.attached_routers | length > 0)' >/dev/null \
4646
|| { echo "get_mesh_info assertion failed"; exit 1; }
4747

4848
echo "== discover services / find calculator (poll) =="

0 commit comments

Comments
 (0)