Update hard-coded stubs in tests to use Ruby 3.4 backtrace syntax #2990
Open
Description
Some of our tests have hard-coded stubs with backtraces with the pre-Ruby 3.4 format. We should update the stubs to point to the example conditionally based on the Ruby version. See "Compatibility Issues" heading on this post for details.
The work for Thread Profile and Backtrace Node tests will be resolved as part of another issue.
The regex used to find these tests is: `
-
newrelic-ruby-agent/test/new_relic/agent/threading/agent_thread_test.rb
Lines 140 to 142 in 49cbf98
-
-
-