Skip to content

Commit

Permalink
wip - last resort, use retry
Browse files Browse the repository at this point in the history
  • Loading branch information
solnic committed Aug 26, 2024
1 parent 5e28912 commit 6d61852
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sentry-ruby/spec/sentry/rack/capture_exceptions_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -680,13 +680,14 @@ def will_be_sampled_by_sdk
end

shared_examples "a profiled transaction" do
it "collects a profile" do
it "collects a profile", retry: 3 do
app = ->(_) do
ProfilerTest::Bar.bar
[200, {}, "ok"]
end

stack = Sentry::Rack::CaptureExceptions.new(app)
stack = described_class.new(app)
stack.call(env)
event = last_sentry_event

Expand Down

0 comments on commit 6d61852

Please sign in to comment.