Explorar o código

test: improve echo msg for smoke test

zhongwencool %!s(int64=2) %!d(string=hai) anos
pai
achega
fa082b7a4d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      scripts/test/emqx-smoke-test.sh

+ 1 - 1
scripts/test/emqx-smoke-test.sh

@@ -40,7 +40,7 @@ check_api_docs() {
     local status
     status="$(curl -s -o /dev/null -w "%{http_code}" "$url")"
     if [ "$status" != "200" ]; then
-        echo "emqx is not responding on $API_DOCS_URL"
+        echo "emqx return non-200 responses($status) on $url"
         exit 1
     fi
 }