summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
authorTrevor Guidry <trevor.guidry@mongodb.com>2022-12-09 19:58:47 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-12-09 20:25:41 +0000
commitd4108459eb397a7f5c51b6bd218038405b349dfb (patch)
tree7e4b2bb82389655cfcb729d75ad0e77390065300 /buildscripts
parentae174ad93cfc20606f1860ecb109f83c76ec9923 (diff)
downloadmongo-d4108459eb397a7f5c51b6bd218038405b349dfb.tar.gz
SERVER-71982 set directConnection=True in standalone.py
this is for multiversion testing with pymongo v4
Diffstat (limited to 'buildscripts')
-rw-r--r--buildscripts/resmokelib/testing/fixtures/standalone.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildscripts/resmokelib/testing/fixtures/standalone.py b/buildscripts/resmokelib/testing/fixtures/standalone.py
index 71d439ca6af..31eece3668d 100644
--- a/buildscripts/resmokelib/testing/fixtures/standalone.py
+++ b/buildscripts/resmokelib/testing/fixtures/standalone.py
@@ -181,7 +181,7 @@ class MongoDFixture(interface.Fixture):
def get_driver_connection_url(self):
"""Return the driver connection URL."""
- return "mongodb://" + self.get_internal_connection_string()
+ return "mongodb://" + self.get_internal_connection_string() + "/?directConnection=true"
# The below parameters define the default 'logComponentVerbosity' object passed to mongod processes