فهرست منبع

Merge pull request #13233 from infosiftr/ghost-test

Fix ghost test to not request "//" to prevent current unending curl connection
Tianon Gravi 3 سال پیش
والد
کامیت
00cb4e58af
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      test/tests/ghost-basics/run.sh

+ 1 - 1
test/tests/ghost-basics/run.sh

@@ -57,7 +57,7 @@ _request() {
 	docker run --rm \
 		--link "$cid":ghost \
 		"$clientImage" \
-		curl -fs -X"$method" "$@" "http://ghost:2368/$url"
+		curl -fs --max-time 15 -X"$method" "$@" "http://ghost:2368/${url#/}"
 }
 
 # Make sure that Ghost is listening and ready