mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-09-30 00:01:02 -04:00
do not run keep alive test for ruby < 2.3, as our HTTP/1 server does not support keep alive
This commit is contained in:
parent
2b90288b9d
commit
bc65c44e21
@ -99,7 +99,7 @@ class SessionTest < Minitest::Test
|
||||
connection_count = http.pool.connection_count
|
||||
assert connection_count == 2, "session should have closed the first connection (#{connection_count})"
|
||||
end
|
||||
end
|
||||
end unless RUBY_VERSION < "2.3" || RUBY_ENGINE == "jruby"
|
||||
|
||||
TestPlugin = Module.new do
|
||||
self::ClassMethods = Module.new do
|
||||
|
Loading…
x
Reference in New Issue
Block a user