[SERVER-7865] Add ability to set query replies based on namespace for MockRemoteDBServer Created: 06/Dec/12  Updated: 11/Jul/16  Resolved: 11/Dec/12

Status: Closed
Project: Core Server
Component/s: Internal Code, Testing Infrastructure
Affects Version/s: 2.3.2
Fix Version/s: 2.3.2

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

Participants:

 Comments   
Comment by auto [ 08/Dec/12 ]

Author:

{u'date': u'2012-12-08T19:50:16Z', u'email': u'tad@10gen.com', u'name': u'Tad Marshall'}

Message: SERVER-7865 Make copy of resultSet to be owned by mock cursor

Store a copy of the result set returned by a mock query in the
MockDBClientCursor so that the data is not freed when the temporaries
go out of scope. The copy will be freed when the MockDBClientCursor
is destroyed.
Branch: master
https://github.com/mongodb/mongo/commit/be0a3384012985ed2f8b0b568b93628bcb0c2ec8

Comment by Eric Milkie [ 08/Dec/12 ]

I believe this commit broke a number of builds. The newly added tests in the MockDBClientConnTest suite are failing.

Comment by auto [ 07/Dec/12 ]

Author:

{u'date': u'2012-12-06T20:16:10Z', u'email': u'randolph@10gen.com', u'name': u'Randolph Tan'}

Message: SERVER-7865 Add ability to set query replies based on namespace for MockRemoteDBServer
Branch: master
https://github.com/mongodb/mongo/commit/d84d9b8a8db31989c4c1690f6533082ea153abd9

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