From 1a83c4c5c3601a69eff0fab1a3d6eca6683bdcb9 Mon Sep 17 00:00:00 2001 From: Daniel Calviño Sánchez Date: Wed, 3 May 2017 17:29:37 +0200 Subject: Set timeout multiplier to 10 for acceptance tests run by Drone MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .drone.yml | 6 +++--- 1 file 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 -- cgit v1.2.3