Skip to content

Commit

Permalink
Update specs with new names for crashtracking tags
Browse files Browse the repository at this point in the history
  • Loading branch information
ivoanjo committed Feb 7, 2025
1 parent 997a2fb commit eebe350
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/datadog/core/crashtracking/component_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,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')
expect(crash_report[:tags]).to include('si_signo:11', 'si_signo_human_readable:SIGSEGV')

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

Expand Down Expand Up @@ -285,7 +285,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')
expect(crash_report[:tags]).to include('si_signo:11', 'si_signo_human_readable:SIGSEGV')

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

Expand Down

0 comments on commit eebe350

Please sign in to comment.