diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-12-25 12:05:47 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-12-25 12:05:47 +0100 |
commit | 56ac84d0a32844c7b7df4c584dccb6e6c17e35de (patch) | |
tree | 5cfa8d45762d0178318ec054ef943cdc7124218e /scripts | |
parent | a25970cc20ad5d61b7ae4e94850f3e42c0359bcd (diff) | |
download | PeerTube-56ac84d0a32844c7b7df4c584dccb6e6c17e35de.tar.gz PeerTube-56ac84d0a32844c7b7df4c584dccb6e6c17e35de.tar.zst PeerTube-56ac84d0a32844c7b7df4c584dccb6e6c17e35de.zip |
Fix real world script
Diffstat (limited to 'scripts')
-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 |