diff --git a/integration/config.sh b/integration/config.sh index f253428109..b72e7f22bd 100644 --- a/integration/config.sh +++ b/integration/config.sh @@ -39,6 +39,8 @@ has() { local host=$2 local name=$3 local count=${4:-1} + echo "http://${host}:4040/api/topology/${view}?system=show looking for ${name}" >&2 + curl http://${host}:4040/api/topology/${view}?system=show assert "curl -s http://${host}:4040/api/topology/${view}?system=show | jq -r '[.nodes[] | select(.label_major == \"${name}\")] | length'" $count }