disabling grpc for truffleruby

This commit is contained in:
HoneyryderChuck 2021-05-31 12:49:39 +01:00
parent a49fcc65f5
commit a0ac3354dc
3 changed files with 9 additions and 7 deletions

12
Gemfile
View File

@ -32,17 +32,19 @@ group :test do
gem "rubocop-performance"
end
platform :mri do
if RUBY_VERSION >= "2.3"
gem "grpc"
gem "logging"
end
end
platform :mri, :truffleruby do
gem "bcrypt_pbkdf"
gem "benchmark-ips"
gem "brotli"
gem "ed25519"
gem "net-ssh-gateway"
if RUBY_VERSION >= "2.3"
gem "grpc"
gem "logging"
end
end
platform :mri_21 do

View File

@ -29,7 +29,7 @@ class HTTPTest < Minitest::Test
include Plugins::Stream
include Plugins::AWSAuthentication
include Plugins::Upgrade
include Plugins::GRPC unless RUBY_ENGINE == "jruby" || RUBY_VERSION < "2.3"
include Plugins::GRPC if RUBY_ENGINE == "ruby" && RUBY_VERSION >= "2.3.0"
def test_verbose_log
log = StringIO.new

View File

@ -30,7 +30,7 @@ class HTTPSTest < Minitest::Test
include Plugins::Stream
include Plugins::AWSAuthentication
include Plugins::Upgrade
include Plugins::GRPC unless RUBY_ENGINE == "jruby" || RUBY_VERSION < "2.3"
include Plugins::GRPC if RUBY_ENGINE == "ruby" && RUBY_VERSION >= "2.3.0"
def test_connection_coalescing
coalesced_origin = "https://#{ENV["HTTPBIN_COALESCING_HOST"]}"