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
…#3955)

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.

Co-authored-by: Oleg Pudeyev <code@olegp.name>
  • Loading branch information
p-datadog and p authored Sep 26, 2024
1 parent fa61ea2 commit bcca296
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/datadog/di/probe_builder_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
require "datadog/di/spec_helper"
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
3 changes: 3 additions & 0 deletions spec/datadog/di/probe_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
require "datadog/di/spec_helper"
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 bcca296

Please sign in to comment.