Quellcode durchsuchen

test: improve echo msg for smoke test

zhongwencool vor 2 Jahren
Ursprung
Commit
fa082b7a4d
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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
 }