From d16583c19fb62fde16652ea9758b15b91643755b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BD=97=E6=B3=BD=E8=BD=A9?= Date: Mon, 30 Aug 2021 23:58:49 +0800 Subject: [PATCH] test: correct the assertion message in prometheus test (#4936) Signed-off-by: spacewander --- t/cli/test_prometheus.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/t/cli/test_prometheus.sh b/t/cli/test_prometheus.sh index 206b76d0..9a9af398 100755 --- a/t/cli/test_prometheus.sh +++ b/t/cli/test_prometheus.sh @@ -90,6 +90,8 @@ fi make stop +echo "passed: should listen at previous prometheus address" + echo ' plugin_attr: prometheus: @@ -120,4 +122,4 @@ if ! echo "$out" | grep "node_listen port 9092 conflicts with prometheus"; then exit 1 fi -echo "passed: should listen at previous prometheus address" +echo "passed: should detect port conflicts"