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:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2017-05-03 18:29:37 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2017-05-04 00:18:40 +0300
commit1a83c4c5c3601a69eff0fab1a3d6eca6683bdcb9 (patch)
treefeeab60de83f78810804044fe37ea14e53c80d48 /.drone.yml
parent4fc9a7146ba203f6c0a83da490ec65df2f388f22 (diff)
Set timeout multiplier to 10 for acceptance tests run by Drone
Sometimes, acceptance tests run by Drone fail due to a timeout when starting the web browser sessions. Increasing the timeout should minimize the possibility of the failure happening, although it can not guarantee that it will not happen. A timeout multiplier of 10 was set just because it looks like a reasonable margin of time, although it is not based on any hard data. The timeout multiplier affects too the timeout used when finding elements. Like when starting a session, increasing the find timeout simply gives the acceptance tests more time to find the objects before giving up, so it does not change their behaviour when successful and can also prevent failures due to default timeouts being too low for a strained system. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.drone.yml b/.drone.yml
index 6302736e0d6..473894fb2a2 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -488,21 +488,21 @@ pipeline:
acceptance-access-levels:
image: nextcloudci/php7.0:php7.0-7
commands:
- - tests/acceptance/run-local.sh allow-git-repository-modifications features/access-levels.feature
+ - tests/acceptance/run-local.sh --timeout-multiplier 10 allow-git-repository-modifications features/access-levels.feature
when:
matrix:
TESTS-ACCEPTANCE: access-levels
acceptance-app-files:
image: nextcloudci/php7.0:php7.0-7
commands:
- - tests/acceptance/run-local.sh allow-git-repository-modifications features/app-files.feature
+ - tests/acceptance/run-local.sh --timeout-multiplier 10 allow-git-repository-modifications features/app-files.feature
when:
matrix:
TESTS-ACCEPTANCE: app-files
acceptance-login:
image: nextcloudci/php7.0:php7.0-7
commands:
- - tests/acceptance/run-local.sh allow-git-repository-modifications features/login.feature
+ - tests/acceptance/run-local.sh --timeout-multiplier 10 allow-git-repository-modifications features/login.feature
when:
matrix:
TESTS-ACCEPTANCE: login