瀏覽代碼

raise limit

Artur Paikin 7 年之前
父節點
當前提交
aac014abf6
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      bin/bootandkill-servers

+ 2 - 2
bin/bootandkill-servers

@@ -46,7 +46,7 @@ function cleanup_servers () {
 
 function waitForPortOpen () {
   local port="${1}"
-  local limit="${2:-60}"
+  local limit="${2:-100}"
   local attempts=0
   echo "[${__base}] waiting on port ${port} to open... "
   while ! echo exit | nc localhost ${port}; do
@@ -87,7 +87,7 @@ echo "[${__base}] --> Running acceptance tests"
 
 buildWait=20
 if [ "${TRAVIS:-}" = "true" ]; then
-  buildWait=80
+  buildWait=60
   echo "Increasing build wait because Travis has no Hexo build cache"
 fi