Bläddra i källkod

test: improve echo msg for smoke test

zhongwencool 2 år sedan
förälder
incheckning
fa082b7a4d
1 ändrade filer med 1 tillägg och 1 borttagningar
  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
 }