소스 검색

test: improve echo msg for smoke test

zhongwencool 2 년 전
부모
커밋
fa082b7a4d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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
 }