diff options
author | Sergio Bertolin <sbertolin@solidgear.es> | 2015-11-24 12:48:06 +0000 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-26 17:03:17 +0100 |
commit | 9d44576819911b7cf0761191135dbc4de7b617ec (patch) | |
tree | 1332338d1fdddd078bf54c2a877a4ae13e72f0ec /build/integration/run.sh | |
parent | 8fe878afe9af165b98470a75203df2f1b32cb68f (diff) | |
download | nextcloud-server-9d44576819911b7cf0761191135dbc4de7b617ec.tar.gz nextcloud-server-9d44576819911b7cf0761191135dbc4de7b617ec.zip |
Restructured FeatureContext to reuse some parts and run two servers in parallel
Diffstat (limited to 'build/integration/run.sh')
-rwxr-xr-x | build/integration/run.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/build/integration/run.sh b/build/integration/run.sh index 5456a784404..bd2c2856ac7 100755 --- a/build/integration/run.sh +++ b/build/integration/run.sh @@ -13,7 +13,16 @@ php -S localhost:$PORT -t ../.. & PHPPID=$! echo $PHPPID +PORT_FED=$((8180 + $EXECUTOR_NUMBER)) +echo $PORT_FED +php -S localhost:$PORT_FED -t ../.. & +PHPPID_FED=$! +echo $PHPPID_FED + export TEST_SERVER_URL="http://localhost:$PORT/ocs/" +export TEST_SERVER_FED_URL="http://localhost:$PORT_FED/ocs/" + vendor/bin/behat -f junit -f pretty kill $PHPPID +kill $PHPPID_FED |