Client/connection tests fail when run locally
General
Escalation
General
Escalation
Description
How to test
None
How to document
None
Smart Checklist
Activity
Show:

shashank.sinha September 22, 2022 at 10:01 AMEdited
Ran the test on following 2 platforms:
Mac OS Monterey (Natively)
Ubuntu Bionic (Using VM with VirtualBox)
Concerned test fails on Mac but runs smoothly on Ubuntu. Attempt to connect to MongoDB container instances using MongoDB driver for Golang shows different behaviour on the two platforms.
Fix is provided by .
Done
Details
Details
Assignee

Reporter

Priority
Components
Needs QA
Yes
Needs Doc
No
Smart Checklist
Open Smart Checklist
Smart Checklist

Open Smart Checklist
Created September 12, 2022 at 12:22 PM
Updated March 6, 2024 at 12:41 AM
Resolved September 22, 2022 at 10:16 AM
User impact:
As documented in the contribution guide it should be possible to run tests locally with make test.
Steps to reproduce:
Actual result:
Expected result:
Workaround:
Tests can be skipped, or with more effort could be run from a container within the same docker network.
Details:
Suggested fix is to enable direct connection for these tests such that the driver will connect only to the host provided.