Skip to content

Commit

Permalink
Skip flaky scoped metric reporting test
Browse files Browse the repository at this point in the history
This test has failed on Ruby versions ranging from 2.5 to 3.2 (perhaps more, but I didn't look too deeply into this). Skip the test until we can figure out why it's broken.
  • Loading branch information
kaylareopelle committed Feb 7, 2024
1 parent 3ebd85a commit be5b2f5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/new_relic/agent/transaction/segment_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,9 @@ def test_segment_records_metrics_when_given_as_array
end

def test_segment_can_disable_scoped_metric_recording
# TODO: Fix this test via Issue #2429
skip 'This test fails intermittently on multiple Ruby versions'

in_transaction('test') do |txn|
segment = Segment.new('Custom/simple/segment', 'Segment/all')
segment.record_scoped_metric = false
Expand Down

0 comments on commit be5b2f5

Please sign in to comment.