test: correct the assertion message in prometheus test (#4936)

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
This commit is contained in:
罗泽轩 2021-08-30 23:58:49 +08:00 committed by GitHub
parent f8eac5e725
commit d16583c19f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"