Skip to content

Commit

Permalink
Assert that correct signal name is reported
Browse files Browse the repository at this point in the history
  • Loading branch information
ivoanjo committed May 10, 2024
1 parent 5431d2b commit a2ae730
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/datadog/profiling/crashtracker_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@
crash_report = JSON.parse(request.body, symbolize_names: true)[:payload].first

expect(crash_report[:stack_trace]).to_not be_empty
expect(crash_report[:tags]).to include('signum:11', 'signame:SIGSEGV')

crash_report_message = JSON.parse(crash_report[:message], symbolize_names: true)

Expand Down

0 comments on commit a2ae730

Please sign in to comment.