Skip to content

Commit

Permalink
[ci][rabbitmq] Increase wait timeout (#3022)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
olivielpeau authored and truthbk committed Nov 16, 2016
1 parent eeae5e3 commit 9bc8d4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/rabbitmq.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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|
Expand Down

0 comments on commit 9bc8d4c

Please sign in to comment.