Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
- '3.1'
- '3.2'
- '3.3'
- '3.4'
- '4.0'

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ group :development, :test do
gem "sentry-ruby"
gem "honeybadger"
gem "newrelic_rpm"
gem "ddtrace", "~> 1.8"
gem "datadog"
gem "airbrake", "~> 13.0"
gem "rollbar"
gem "bugsnag"
Expand Down
6 changes: 3 additions & 3 deletions spec/hutch/broker_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@

context 'when configured with a URI' do
context 'which specifies the port' do
before { config[:uri] = 'amqp://guest:guest@127.0.0.1:5672/' }
before { config[:uri] = "amqp://#{config[:mq_username]}:#{config[:mq_password]}@#{config[:mq_host]}:#{config[:mq_port]}/" }

it 'successfully connects' do
c = broker.open_connection
Expand All @@ -105,7 +105,7 @@
end

context 'which does not specify port and uses the amqp scheme' do
before { config[:uri] = 'amqp://guest:guest@127.0.0.1/' }
before { config[:uri] = "amqp://#{config[:mq_username]}:#{config[:mq_password]}@#{config[:mq_host]}/" }

it 'successfully connects' do
c = broker.open_connection
Expand All @@ -115,7 +115,7 @@
end

context 'which specifies the amqps scheme' do
before { config[:uri] = 'amqps://guest:guest@127.0.0.1/' }
before { config[:uri] = "amqps://#{config[:mq_username]}:#{config[:mq_password]}@#{config[:mq_host]}/" }

it 'utilises TLS' do
expect(Hutch::Adapter).to receive(:new).with(
Expand Down
Loading