1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Don't run worker integration on JRuby

This commit is contained in:
Nate Berkopec 2020-03-14 13:43:06 -06:00
parent 910b4589be
commit 85aa134431
No known key found for this signature in database
GPG key ID: BDD7A4B8E43906A6

View file

@ -1,4 +1,13 @@
results = %w[t1 t2 t3].map do |test|
require "puma"
require "puma/detect"
TESTS_TO_RUN = if Puma.jruby?
%w[t1 t2]
else
%w[t1 t2 t3]
end
results = TESTS_TO_RUN.map do |test|
system("ruby -rrubygems test/shell/#{test}.rb ") # > /dev/null 2>&1
end