Skip to content

Commit

Permalink
DEBUG-2334 run all existing DI tests only on supported configurations
Browse files Browse the repository at this point in the history
Dynamic instrumentation will not work on Ruby 2.5 and JRuby.
Some unit tests will pass on those configurations, but there is
no reason to run them there because they run on all of the
supported configurations already.
  • Loading branch information
p committed Sep 25, 2024
1 parent a6b9175 commit 706f3d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/datadog/di/probe_builder_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
require "datadog/di/probe_builder"

RSpec.describe Datadog::DI::ProbeBuilder do
di_test

describe ".build_from_remote_config" do
let(:probe) do
described_class.build_from_remote_config(rc_probe_spec)
Expand Down
2 changes: 2 additions & 0 deletions spec/datadog/di/probe_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
require "datadog/di/probe"

RSpec.describe Datadog::DI::Probe do
di_test

shared_context "method probe" do
let(:probe) do
described_class.new(id: "42", type: "foo", type_name: "Foo", method_name: "bar")
Expand Down

0 comments on commit 706f3d2

Please sign in to comment.