Skip to content

Commit 547cc74

Browse files
authored
Merge pull request #760 from Shopify/vs/increase_timeout_on_ci
Increase timeout on CI
2 parents b6e3788 + 08c57df commit 547cc74

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/integration_test.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,9 @@ def make_request(request, params = nil)
358358
end
359359

360360
def read_response(request)
361-
Timeout.timeout(5) do
361+
timeout_amount = ENV["CI"] ? 20 : 5
362+
363+
Timeout.timeout(timeout_amount) do
362364
# Read headers until line breaks
363365
headers = @stdout.gets("\r\n\r\n")
364366
# Read the response content based on the length received in the headers

0 commit comments

Comments
 (0)