#!/usr/bin/env bash # shellcheck disable=SC1091 . lib.sh setup_suite() { # shellcheck disable=SC2016 block_until_ready_by_name kube-system kilo-userspace _kubectl wait pod -l app.kubernetes.io/name=adjacency --for=condition=Ready --timeout 3m } test_graph_handler() { assert "curl_pod 'http://10.4.0.1:1107/graph?format=svg&layout=circo' | grep -q ' 0 ))" "metrics handler should provide metric: kilo_nodes > 0" }