[SERVER-6754] Create a mock for testing replica set connections Created: 13/Aug/12  Updated: 11/Jul/16  Resolved: 05/Dec/12

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: 2.2.0-rc0
Fix Version/s: 2.3.2

Type: Task Priority: Major - P3
Reporter: Randolph Tan Assignee: Randolph Tan
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-6593 local ping time on nodes can take tim... Closed
Participants:

 Comments   
Comment by auto [ 14/Dec/12 ]

Author:

{u'date': u'2012-12-14T15:21:13Z', u'email': u'randolph@10gen.com', u'name': u'Randolph Tan'}

Message: Fix wrong condition for displaying error message introduced by SERVER-6754
Branch: master
https://github.com/mongodb/mongo/commit/bf8a9e764b91b13616a693bb8fffe91c3470db30

Comment by auto [ 05/Dec/12 ]

Author:

{u'date': u'2012-12-05T17:13:58Z', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'}

Message: SERVER-6754 Buildbot failure fix for shard_conn_test

Explicitly specify port number when instantiating the mock server.
Branch: master
https://github.com/mongodb/mongo/commit/df08bd861053509f84c4c5fcb42ccd7c5fca25bb

Comment by auto [ 05/Dec/12 ]

Author:

{u'date': u'2012-12-05T15:31:47Z', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'}

Message: Fix linux compiler error caused by SERVER-6754 in buildbot
Branch: master
https://github.com/mongodb/mongo/commit/6c4280c84d4efcef88945c98c3f5d0bc1eef3b38

Comment by auto [ 05/Dec/12 ]

Author:

{u'date': u'2012-12-04T19:45:21Z', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'}

Message: SERVER-6754 Fix tests using the old mock api
Branch: master
https://github.com/mongodb/mongo/commit/3df33025c72c9b1aa7f0cb2a363760e0d924b9a0

Comment by auto [ 05/Dec/12 ]

Author:

{u'date': u'2012-09-10T19:30:01Z', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'}

Message: SERVER-6754 Create a mock for testing replica set connections

Final step: Modify the replica set client to be able to use custom hooks for creating connections.
Branch: master
https://github.com/mongodb/mongo/commit/f75d3a2e104bd2f99be2f0cb585c26dea6f563d3

Comment by auto [ 05/Dec/12 ]

Author:

{u'date': u'2012-12-03T18:18:14Z', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'}

Message: SERVER-6754 Create a mock for testing replica set connections

Step2: Created a simple mock for cursor that matches the DBClientBase::query signature, added functionality for mocking queries and added more features.
Branch: master
https://github.com/mongodb/mongo/commit/33d7543c12a21f6496081ca9fa6c3676190aa991

Comment by auto [ 30/Aug/12 ]

Author:

{u'date': u'2012-08-24T08:17:16-07:00', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'}

Message: SERVER-6754 Create a mock for testing replica set connections

Step1: Create the mock classes for mocking the remote server, connection and replica set
Branch: master
https://github.com/mongodb/mongo/commit/4f56c5d9d194bac58d4a981a86bfde39cb6ffa0a

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