Skip to content

Commit

Permalink
Relax timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
sorah committed Oct 11, 2015
1 parent c204723 commit 8b77fc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/integration_spec.rb
Expand Up @@ -31,7 +31,7 @@
adapter_pid = spawn({'NGX_OMNIAUTH_HOST' => 'http://ngx-auth.127.0.0.1.xip.io:18080'}, 'rackup', '-p', '18081', '-o', '127.0.0.1', File.join(__dir__, '..', 'config.ru'), out: spec_log, err: spec_log)
end

10.times do
100.times do
begin
open('http://127.0.0.1:18081/', 'r', &:read)
break
Expand All @@ -41,7 +41,7 @@
end
open('http://127.0.0.1:18081/', 'r', &:read)

10.times do
100.times do
begin
open('http://127.0.0.1:18082/hello', 'r', &:read)
break
Expand Down

0 comments on commit 8b77fc0

Please sign in to comment.