Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit acedb0e

Browse files
committed
Skip broken specs on JRuby
1 parent 870d12d commit acedb0e

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

spec/integration/bisect_spec.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ def bisect(cli_args, expected_status=nil)
1515
normalize_durations(formatter_output.string)
1616
end
1717

18+
before do
19+
if RSpec::Support::Ruby.jruby? && RSpec::Support::Ruby.jruby_version == '9.1.17.0'
20+
skip "These specs are currently broken on JRuby 9.1.17.0"
21+
end
22+
end
23+
1824
context "when a load-time problem occurs while running the suite" do
1925
it 'surfaces the stdout and stderr output to the user' do
2026
output = bisect(%w[spec/rspec/core/resources/fail_on_load_spec.rb_], 1)

spec/rspec/core_spec.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@
7979
before(:example) do
8080
skip "Not reliably working on #{RUBY_DESCRIPTION}"
8181
end
82+
elsif RSpec::Support::Ruby.jruby? && JRUBY_VERSION =~ /9\.1\.17\.0/
83+
before(:example, :description => /spec files/) do
84+
pending "JRuby 9.1.17.0 generates unrelated warnings"
85+
end
8286
end
8387
end
8488

0 commit comments

Comments
 (0)