Skip to content

Commit eebe350

Browse files
committed
Update specs with new names for crashtracking tags
1 parent 997a2fb commit eebe350

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/datadog/core/crashtracking/component_spec.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@
232232
crash_report = JSON.parse(request.body, symbolize_names: true)[:payload].first
233233

234234
expect(crash_report[:stack_trace]).to_not be_empty
235-
expect(crash_report[:tags]).to include('signum:11', 'signame:SIGSEGV')
235+
expect(crash_report[:tags]).to include('si_signo:11', 'si_signo_human_readable:SIGSEGV')
236236

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

@@ -285,7 +285,7 @@
285285
crash_report = JSON.parse(request.body, symbolize_names: true)[:payload].first
286286

287287
expect(crash_report[:stack_trace]).to_not be_empty
288-
expect(crash_report[:tags]).to include('signum:11', 'signame:SIGSEGV')
288+
expect(crash_report[:tags]).to include('si_signo:11', 'si_signo_human_readable:SIGSEGV')
289289

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

0 commit comments

Comments
 (0)