From b6e75ebea761c01d00cee6ebe9142ccf034f11f1 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Fri, 17 Jan 2020 16:01:59 +0100 Subject: [PATCH] Travis: Use bigger GreenMail startup timeout --- .ci/setup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.ci/setup.sh b/.ci/setup.sh index fcbdcceb0..85e297308 100755 --- a/.ci/setup.sh +++ b/.ci/setup.sh @@ -5,6 +5,7 @@ GMV=1.5.11 CHROMEVERSION=$(google-chrome-stable --version | tr -cd [:digit:]. | cut -d . -f 1) +GMARGS="-Dgreenmail.setup.all -Dgreenmail.users=test:test -Dgreenmail.startup.timeout=3000" # Roundcube tests and instance configuration cp .ci/config-test.inc.php config/config-test.inc.php @@ -25,5 +26,5 @@ php tests/Browser/install.php $CHROMEVERSION # GreenMail server download, setup and start wget https://repo1.maven.org/maven2/com/icegreen/greenmail-standalone/$GMV/greenmail-standalone-$GMV.jar \ - && (sudo java -Dgreenmail.setup.all -Dgreenmail.users=test:test -jar greenmail-standalone-$GMV.jar &) \ + && (sudo java $GMARGS -jar greenmail-standalone-$GMV.jar &) \ && sleep 5