Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
Merge pull request #10 from EnjoyTech/ls/enabled-flag-bugfix
Browse files Browse the repository at this point in the history
test: fix transient test failure due to clock_gettime being called with unexpected arguments
  • Loading branch information
lsanwick authored Dec 16, 2020
2 parents b808e3b + 3a823cf commit 4004167
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/apollo-studio-tracing/tracing_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ def clear_reports
ns = 42
allow(Process).to receive(:clock_gettime)
.with(Process::CLOCK_MONOTONIC, :nanosecond) { ns += 1 }
allow(Process).to receive(:clock_gettime)
.with(Process::CLOCK_MONOTONIC) { ns += 1 }
end

describe 'respecting options on context' do
Expand Down

0 comments on commit 4004167

Please sign in to comment.