mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
[CI] Skip TestPumaServer#test_chunked_keep_alive_two_back_to_back on TruffleRuby
This commit is contained in:
parent
1dc1dec372
commit
f59887602c
2 changed files with 3 additions and 1 deletions
|
@ -118,11 +118,12 @@ module TestSkips
|
|||
|
||||
SIGNAL_LIST = Signal.list.keys.map(&:to_sym) - (Puma.windows? ? [:INT, :TERM] : [])
|
||||
|
||||
JRUBY_HEAD = Puma::IS_JRUBY && RUBY_DESCRIPTION =~ /SNAPSHOT/
|
||||
JRUBY_HEAD = Puma::IS_JRUBY && RUBY_DESCRIPTION.include?('SNAPSHOT')
|
||||
|
||||
DARWIN = RUBY_PLATFORM.include? 'darwin'
|
||||
|
||||
TRUFFLE = RUBY_ENGINE == 'truffleruby'
|
||||
TRUFFLE_HEAD = TRUFFLE && RUBY_DESCRIPTION.include?('-dev-')
|
||||
|
||||
# usage: skip_unless_signal_exist? :USR2
|
||||
def skip_unless_signal_exist?(sig, bt: caller)
|
||||
|
|
|
@ -885,6 +885,7 @@ EOF
|
|||
end
|
||||
|
||||
def test_chunked_keep_alive_two_back_to_back
|
||||
skip("Fails on TruffleRuby (not head)") unless !TRUFFLE || Gem::Version.new(RUBY_ENGINE_VERSION) > Gem::Version.new('22.1')
|
||||
body = nil
|
||||
content_length = nil
|
||||
server_run { |env|
|
||||
|
|
Loading…
Add table
Reference in a new issue