[SERVER-18073] Fix smoke.py to work with pymongo 3.0 Created: 15/Apr/15  Updated: 19/Sep/15  Resolved: 17/Apr/15

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 2.6.10, 3.0.3, 3.1.2

Type: Bug Priority: Major - P3
Reporter: Jonathan Reams Assignee: Jonathan Reams
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to PYTHON-913 UserWarning with read preference and ... Closed
is related to SERVER-18229 Smoke.py with PyMongo 3.0.1 fails to ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Completed:
Sprint: BUILD 2 04/24/15
Participants:

 Description   

Use MongoClient instead of Connection and read_preference instead of slave_ok.



 Comments   
Comment by Githook User [ 23/Apr/15 ]

Author:

{u'username': u'jbreams', u'name': u'Jonathan Reams', u'email': u'jbreams@mongodb.com'}

Message: SERVER-18073 Make smoke.py work with pymongo 3.0
Branch: v2.6
https://github.com/mongodb/mongo/commit/ac68b6fe18287040801f86aa5babe9dadb308cf2

Comment by Githook User [ 22/Apr/15 ]

Author:

{u'username': u'jbreams', u'name': u'Jonathan Reams', u'email': u'jbreams@mongodb.com'}

Message: SERVER-18073 Make smoke.py work with pymongo 3.0

(cherry picked from commit a47efdc68977bd38161ebf91cf9b727612a6c9f3)
Branch: v3.0
https://github.com/mongodb/mongo/commit/0031d937741fa474086fe8924c407fae2dd2f066

Comment by Githook User [ 17/Apr/15 ]

Author:

{u'username': u'jbreams', u'name': u'Jonathan Reams', u'email': u'jbreams@mongodb.com'}

Message: SERVER-18073 Make smoke.py work with pymongo 3.0
Branch: master
https://github.com/mongodb/mongo/commit/a47efdc68977bd38161ebf91cf9b727612a6c9f3

Generated at Thu Feb 08 03:46:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.