Skip to content

Commit

Permalink
Skip fork test on platforms that don't support it
Browse files Browse the repository at this point in the history
  • Loading branch information
marcotc committed Nov 20, 2020
1 parent 764c8dd commit 42b8197
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/ddtrace/contrib/qless/instrumentation_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@

context 'with forking' do
before do
skip unless PlatformHelpers.supports_fork?

# Ensures worker is using forking
expect(worker.class).to eq(Qless::Workers::ForkingWorker)
end
Expand Down

0 comments on commit 42b8197

Please sign in to comment.