1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

increase timeout, jruby (and sometime rubinius) do not make it in time

This commit is contained in:
Konstantin Haase 2011-11-06 09:18:07 -03:00
parent 332a7e556c
commit 9872c05ba5

View file

@ -35,7 +35,7 @@ class IntegrationTest < Test::Unit::TestCase
def with_server
pipe = IO.popen(command)
error = nil
Timeout.timeout(10) do
Timeout.timeout(120) do
begin
yield
rescue Errno::ECONNREFUSED => e