Skip to content
Merged
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
5 changes: 5 additions & 0 deletions spec/datadog/tracing/contrib/mongodb/client_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@
end
end

# Our GHA Unit Tests run in docker containers, where "localhost" refers to the container itself.
# As a result, the secondary client (with host "localhost") cannot connect to the primary MongoDB
# service, causing the test to timeout while waiting for "primary server [to be] available in cluster".
# One solution is to pull a second MongoDB service and set the secondary client accordingly. However,
# given the large amount of services already being pulled, this spec remains skipped on GHA for now.
context 'secondary client', skip: ENV['BATCHED_TASKS'] do
around do |example|
without_warnings do
Expand Down
Loading