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:
HoneyryderChuck 2020-03-30 02:14:58 +01:00
parent 2b90288b9d
commit bc65c44e21

View File

@ -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