Skip to content

Commit

Permalink
Add extra logging to debug issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ivoanjo committed Jul 1, 2024
1 parent cc2657f commit 6a07aa6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/datadog/profiling/crashtracker_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
skip_if_profiling_not_supported(self)

crash_tracker_pids = `pgrep -f libdatadog-crashtracking-receiver`
expect(crash_tracker_pids).to be_empty, "No crash tracker process should be running, found #{crash_tracker_pids}"
expect(crash_tracker_pids).to be_empty,
"No crash tracker process should be running, found #{crash_tracker_pids}" \
", Failure details: ps aux: #{`ps aux`}"
end

let(:exporter_configuration) { [:agent, 'http://localhost:6006'] }
Expand Down

0 comments on commit 6a07aa6

Please sign in to comment.