We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d367ebf commit f4ebb2dCopy full SHA for f4ebb2d
spec/datadog/profiling/crashtracker_spec.rb
@@ -8,8 +8,13 @@
8
before do
9
skip_if_profiling_not_supported(self)
10
11
- crash_tracker_pids = `pgrep -f libdatadog-crashtracking-receiver`
12
- expect(crash_tracker_pids).to be_empty, "No crash tracker process should be running, found #{crash_tracker_pids}"
+ # No crash tracker process should still be running at the start of each testcase
+ wait_for { `pgrep -f libdatadog-crashtracking-receiver` }.to be_empty
13
+ end
14
+
15
+ after do
16
+ # No crash tracker process should still be running at the end of each testcase
17
18
end
19
20
let(:exporter_configuration) { [:agent, 'http://localhost:6006'] }
0 commit comments