From 9bc8d4ca69bb2cedb98a78ad8585eaccc55121dc Mon Sep 17 00:00:00 2001 From: Olivier Vielpeau Date: Fri, 11 Nov 2016 15:16:54 -0500 Subject: [PATCH] [ci][rabbitmq] Increase wait timeout (#3022) Rabbitmq can take a long time to start up on the Travis environment (can take from 1sec to more than 30sec from what I've found), and unfortunately I went through rabbitmq's logs and haven't found any obvious explanation for that. Let's just increase the timeout instead of having the test fail every other build. --- ci/rabbitmq.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/rabbitmq.rb b/ci/rabbitmq.rb index 5913766055..4f842b0cb5 100644 --- a/ci/rabbitmq.rb +++ b/ci/rabbitmq.rb @@ -32,7 +32,7 @@ def rabbitmq_rootdir task before_script: ['ci:common:before_script'] do sh %(#{rabbitmq_rootdir}/sbin/rabbitmq-server -detached) - Wait.for 5672, 15 + Wait.for 5672, 60 sh %(#{rabbitmq_rootdir}/sbin/rabbitmq-plugins enable rabbitmq_management) sh %(#{rabbitmq_rootdir}/sbin/rabbitmq-plugins enable rabbitmq_management) %w(test1 test5 tralala).each do |q|