Skip to content

Commit 3e1981a

Browse files
authored
chore(jruby): fixes and updates (#2772)
* fix(jruby): more margin for jruby in a flaky spec * chore(jruby): remove conditional spec execution
1 parent 924d6fd commit 3e1981a

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

sentry-rails/spec/sentry/rails/activejob_spec.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -352,10 +352,6 @@ def perform
352352

353353
describe "Reporting on retry errors", skip: RAILS_VERSION < 7.0 do
354354
before do
355-
if defined?(JRUBY_VERSION) && JRUBY_VERSION == "9.4.14.0"
356-
skip "This crashes on jruby + rails 7.0.0.x. See https://github.com/getsentry/sentry-ruby/issues/2612"
357-
end
358-
359355
make_basic_app
360356
end
361357

sentry-sidekiq/spec/sentry/sidekiq/sentry_context_middleware_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def timecop_delay
9090
expect(trace[:data]['messaging.message.id']).to eq('123456')
9191
expect(trace[:data]['messaging.destination.name']).to eq('default')
9292
expect(trace[:data]['messaging.message.retry.count']).to eq(0)
93-
expect(trace[:data]['messaging.message.receive.latency']).to be_within(3).of(expected_latency)
93+
expect(trace[:data]['messaging.message.receive.latency']).to be_within(20).of(expected_latency)
9494
end
9595

9696
if MIN_SIDEKIQ_6

0 commit comments

Comments
 (0)