瀏覽代碼

Wait 60 seconds before giving up

As on Travis, Hexo has to build everything from scratch
Kevin van Zonneveld 9 年之前
父節點
當前提交
0390733cb3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      bin/test-acceptance

+ 1 - 1
bin/test-acceptance

@@ -16,7 +16,7 @@ function killProcessListeningOnPort () {
 
 
 function waitForPortOpen () {
 function waitForPortOpen () {
   local port="${1}"
   local port="${1}"
-  local limit="${2:-20}"
+  local limit="${2:-60}"
   local attempts=0
   local attempts=0
   echo "waiting on port ${port} to open... "
   echo "waiting on port ${port} to open... "
   while ! echo exit | nc localhost ${port}; do
   while ! echo exit | nc localhost ${port}; do