Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergio Bertolin <sbertolin@solidgear.es>2015-11-24 15:48:06 +0300
committerThomas Müller <thomas.mueller@tmit.eu>2015-11-26 19:03:17 +0300
commit9d44576819911b7cf0761191135dbc4de7b617ec (patch)
tree1332338d1fdddd078bf54c2a877a4ae13e72f0ec /build/integration/run.sh
parent8fe878afe9af165b98470a75203df2f1b32cb68f (diff)
Restructured FeatureContext to reuse some parts and run two servers in parallel
Diffstat (limited to 'build/integration/run.sh')
-rwxr-xr-xbuild/integration/run.sh9
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