aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-03-18 16:21:21 +0100
committerGitHub <noreply@github.com>2019-03-18 16:21:21 +0100
commit8c0497249879de8fecef8df6357d37bde8fb0676 (patch)
tree786981170d2962bb0819e5afff490218f52f461f
parent0e49302eea404525e42261245051924df947442f (diff)
parentb35791358702cad070e902a9b4b9370176588a9a (diff)
downloadnextcloud-server-8c0497249879de8fecef8df6357d37bde8fb0676.tar.gz
nextcloud-server-8c0497249879de8fecef8df6357d37bde8fb0676.zip
Merge pull request #14737 from nextcloud/improve-starting-speed-of-acceptance-tests
Improve startup speed of acceptance tests
-rwxr-xr-xtests/acceptance/run.sh13
1 files changed, 12 insertions, 1 deletions
diff --git a/tests/acceptance/run.sh b/tests/acceptance/run.sh
index 366e7a67bf5..3e7e0a570ff 100755
--- a/tests/acceptance/run.sh
+++ b/tests/acceptance/run.sh
@@ -147,7 +147,18 @@ function prepareDocker() {
# "docker cp" does not take them into account (the extracted files are set
# to root).
echo "Copying local Git working directory of Nextcloud to the container"
- tar --create --file="$NEXTCLOUD_LOCAL_TAR" --exclude=".git" --exclude="./build" --exclude="./config/config.php" --exclude="./data" --exclude="./data-autotest" --exclude="./tests" --exclude="./apps-extra" --exclude="apps-writable" --directory=../../ .
+ tar --create --file="$NEXTCLOUD_LOCAL_TAR" \
+ --exclude=".git" \
+ --exclude="./build" \
+ --exclude="./config/config.php" \
+ --exclude="./data" \
+ --exclude="./data-autotest" \
+ --exclude="./tests" \
+ --exclude="./apps-extra" \
+ --exclude="./apps-writable" \
+ --exclude="node_modules" \
+ --directory=../../ \
+ .
tar --append --file="$NEXTCLOUD_LOCAL_TAR" --directory=../../ tests/acceptance/
docker exec $NEXTCLOUD_LOCAL_CONTAINER mkdir /nextcloud