Skip to content

Commit

Permalink
Fix a wrong timeout calculation for a out_http test
Browse files Browse the repository at this point in the history
Signed-off-by: Takuro Ashie <ashie@clear-code.com>
  • Loading branch information
ashie committed Feb 19, 2021
1 parent 1f81bac commit 4e8130f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/plugin/test_out_http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def run_http_server
now = Time.now
started = false
until started
raise "Server not started" if (now - Time.now > 10.0)
raise "Server not started" if (Time.now - now > 10.0)
begin
http_client { |c| c.request_get('/') }
started = true
Expand Down

0 comments on commit 4e8130f

Please sign in to comment.