Skip to content

Commit 8c76258

Browse files
committed
chore(rails): skip unstable active storage spec on jruby
1 parent f8817c5 commit 8c76258

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

sentry-rails/spec/sentry/rails/tracing/active_storage_subscriber_spec.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
require "spec_helper"
44

5-
RSpec.describe Sentry::Rails::Tracing::ActiveStorageSubscriber, :subscriber, type: :request, skip: Rails.version.to_f <= 5.2 do
5+
# Skipped on JRuby because it's very flaky there due to shelling out to use imagemagick CLI
6+
RSpec.describe Sentry::Rails::Tracing::ActiveStorageSubscriber, :subscriber, type: :request,
7+
skip: Rails.version.to_f <= 5.2 || RUBY_PLATFORM == "java" do
68
let(:transport) do
79
Sentry.get_current_client.transport
810
end

0 commit comments

Comments
 (0)