From d0cd15f4d765bfafcbfb483f30db981539c783df Mon Sep 17 00:00:00 2001 From: Neil Mader Date: Tue, 28 Feb 2017 14:19:49 -0400 Subject: [PATCH] Added a before_script in travi.yml file to extend mysql wait time to 1200 --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index b8370a5e..1ef09376 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,6 +24,10 @@ before_install: - export ISLANDORA_DIR=$TRAVIS_BUILD_DIR - $TRAVIS_BUILD_DIR/tests/scripts/travis_setup.sh - cd $HOME/drupal-* +before_script: + # Mysql might time out for long tests, increase the wait timeout. + - mysql -e 'SET @@GLOBAL.wait_timeout=1200' + script: - ant -buildfile sites/all/modules/islandora/build.xml lint - $ISLANDORA_DIR/tests/scripts/line_endings.sh sites/all/modules/islandora