Skip to content

Commit

Permalink
fixup! Retry to NATS client connections in integration
Browse files Browse the repository at this point in the history
  • Loading branch information
ystros committed Nov 21, 2024
1 parent be836ad commit 4269c3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spec/integration_support/director.rb
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def connect_to_nats
# Explicitly retry on AuthErrors to allow time for the NATS sync process to allow the client
Bosh::Common.retryable(sleep: 0.5, tries: 20, on: [Errno::ECONNREFUSED, NATS::IO::AuthError]) do
nats = NATS::IO::Client.new
nats.connect(@nats_config)
nats.connect(@director_nats_config)
nats
end
end
Expand Down

0 comments on commit 4269c3f

Please sign in to comment.