Jelajahi Sumber

test: improve echo msg for smoke test

zhongwencool 2 tahun lalu
induk
melakukan
fa082b7a4d
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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
 }