From: Peter Rabbitson Date: Thu, 5 Mar 2015 18:11:31 +0000 (+0100) Subject: (travis) shunt intermittent failures stopping postgres X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=af1f8fbc3fa80db949a03e8751a5f89795b58c6e;p=dbsrgits%2FDBIx-Class.git (travis) shunt intermittent failures stopping postgres --- diff --git a/maint/travis-ci_scripts/10_before_install.bash b/maint/travis-ci_scripts/10_before_install.bash index 63b5534..356c17c 100755 --- a/maint/travis-ci_scripts/10_before_install.bash +++ b/maint/travis-ci_scripts/10_before_install.bash @@ -2,7 +2,7 @@ # Stop pre-started RDBMS and sync for some settle time run_or_err "Stopping MySQL" "sudo /etc/init.d/mysql stop" -run_or_err "Stopping PostgreSQL" "sudo /etc/init.d/postgresql stop" +run_or_err "Stopping PostgreSQL" "sudo /etc/init.d/postgresql stop || /bin/true" /bin/sync # Sanity check VM before continuing