Skip to content

Commit

Permalink
fix agent connection errors in specs
Browse files Browse the repository at this point in the history
  • Loading branch information
anmarchenko committed Nov 1, 2023
1 parent 9229867 commit 3ceada4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/support/ci_mode_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
let(:integration_options) { {} }

before do
allow_any_instance_of(Datadog::Core::Remote::Negotiation).to(
receive(:endpoint?).with("/evp_proxy/v2/").and_return(true)
)

Datadog.configure do |c|
c.ci.enabled = true
c.ci.instrument integration_name, integration_options
Expand Down

0 comments on commit 3ceada4

Please sign in to comment.