diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-01-12 15:20:03 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-01-12 15:20:03 +0100 |
commit | 99fe265a5fc077cb66c322e7f3d191ff7110aea0 (patch) | |
tree | c9e04ccfcc5496d2300d7c26db5833e494b4cdad /scripts/play.sh | |
parent | fcc5f77b95d330bfcb439c172b7fcc58f3162e4d (diff) | |
parent | 91cc839af88730ba55f84997c56b85ea100070a7 (diff) | |
download | PeerTube-99fe265a5fc077cb66c322e7f3d191ff7110aea0.tar.gz PeerTube-99fe265a5fc077cb66c322e7f3d191ff7110aea0.tar.zst PeerTube-99fe265a5fc077cb66c322e7f3d191ff7110aea0.zip |
Merge branch 'postgresql'
Diffstat (limited to 'scripts/play.sh')
-rwxr-xr-x | scripts/play.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/play.sh b/scripts/play.sh index 33dc1a545..ab812025c 100755 --- a/scripts/play.sh +++ b/scripts/play.sh | |||
@@ -5,7 +5,9 @@ if [ ! -f server.js ]; then | |||
5 | exit -1 | 5 | exit -1 |
6 | fi | 6 | fi |
7 | 7 | ||
8 | for i in 1 2 3; do | 8 | max=${1:-3} |
9 | |||
10 | for i in $(seq 1 $max); do | ||
9 | NODE_ENV=test NODE_APP_INSTANCE=$i node server.js & | 11 | NODE_ENV=test NODE_APP_INSTANCE=$i node server.js & |
10 | sleep 1 | 12 | sleep 1 |
11 | done | 13 | done |