Skip to content

Commit

Permalink
Merge pull request #2609 from DataDog/ivoanjo/fix-flaky-spec-ruby-32
Browse files Browse the repository at this point in the history
  • Loading branch information
marcotc authored Feb 13, 2023
2 parents c20bb9e + 335f14d commit 35053cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/datadog/core/environment/cgroup_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@

context 'when the \'/proc/self/cgroup\' file is not present' do
before do
expect(Datadog.logger).to_not receive(:error)

expect(File).to receive(:exist?)
.with('/proc/self/cgroup')
.and_return(false)

expect(Datadog.logger).to_not receive(:error)
end

it do
Expand Down

0 comments on commit 35053cd

Please sign in to comment.