diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2017-05-03 17:29:37 +0200 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2017-05-03 23:18:40 +0200 |
commit | 1a83c4c5c3601a69eff0fab1a3d6eca6683bdcb9 (patch) | |
tree | feeab60de83f78810804044fe37ea14e53c80d48 | |
parent | 4fc9a7146ba203f6c0a83da490ec65df2f388f22 (diff) | |
download | nextcloud-server-1a83c4c5c3601a69eff0fab1a3d6eca6683bdcb9.tar.gz nextcloud-server-1a83c4c5c3601a69eff0fab1a3d6eca6683bdcb9.zip |
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>
-rw-r--r-- | .drone.yml | 6 |
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 |