Skip to content

Commit 852f3ae

Browse files
committed
fix test
1 parent 867a265 commit 852f3ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/datadog/tracing/contrib/ethon/typhoeus_integration_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
context 'with concurrent Hydra requests' do
4343
include_context 'integration context'
4444

45-
let(:url_1) { "http://#{host}:#{@port}#{path}?status=200&simulate_timeout=true" }
46-
let(:url_2) { "http://#{host}:#{@port}#{path}" }
45+
let(:url_1) { "http://#{host}:#{http_server_port}#{path}?status=200&simulate_timeout=true" }
46+
let(:url_2) { "http://#{host}:#{http_server_port}#{path}" }
4747
let(:request_1) { Typhoeus::Request.new(url_1, timeout: 0.001) }
4848
let(:request_2) { Typhoeus::Request.new(url_2, method: :post, timeout: timeout, body: { status: 404 }) }
4949

0 commit comments

Comments
 (0)