[CDRIVER-840] Exhaust-cursor tests Created: 14/Sep/15  Updated: 11/Jan/16  Resolved: 30/Nov/15

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.3.0-rc0

Type: Bug Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: A. Jesse Jiryu Davis
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Test exhaust cursors exhaustively. Cover the same four cases as PyMongo:

https://github.com/mongodb/mongo-python-driver/blob/master/test/test_client.py#L844

... but do it for both pooled and single-threaded mongoc_client_t's, and use mock_server_t instead of a live server. So the matrix is:

  • Network error / server error
  • Error during initial query / getmore
  • Pooled / single-threaded client


 Comments   
Comment by Githook User [ 11/Jan/16 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-840: Move exhaust testing into its own file
Branch: 1.3.0-dev
https://github.com/mongodb/mongo-c-driver/commit/068500dc7ad85c6036c248103c9a6b5ce8b8b581

Comment by Githook User [ 11/Jan/16 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-840: Improve test when it fails by including the error message
Branch: 1.3.0-dev
https://github.com/mongodb/mongo-c-driver/commit/3491d2ba25985635b39cfc7ce69853228768f0aa

Comment by Githook User [ 01/Dec/15 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: CDRIVER-840 test exhaust cursor errs
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/8c6b46cb5b5ea5e7986b30af8034b9ee9da05e05

Comment by Githook User [ 01/Dec/15 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: CDRIVER-840 adapt mock server for exhaust cursor
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/b160838d0d7350a8ca873cea2695941abef125a3

Comment by Githook User [ 01/Dec/15 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: CDRIVER-840 test large exhaust query
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/a0390638fbb063085d4f7d1740931f0990b42d81

Comment by Githook User [ 26/Oct/15 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-840: Move exhaust testing into its own file
Branch: debian
https://github.com/mongodb/mongo-c-driver/commit/068500dc7ad85c6036c248103c9a6b5ce8b8b581

Comment by Githook User [ 26/Oct/15 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-840: Improve test when it fails by including the error message
Branch: debian
https://github.com/mongodb/mongo-c-driver/commit/3491d2ba25985635b39cfc7ce69853228768f0aa

Comment by Githook User [ 16/Sep/15 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-840: Move exhaust testing into its own file
Branch: 1.2.0-dev
https://github.com/mongodb/mongo-c-driver/commit/068500dc7ad85c6036c248103c9a6b5ce8b8b581

Comment by Githook User [ 16/Sep/15 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-840: Improve test when it fails by including the error message
Branch: 1.2.0-dev
https://github.com/mongodb/mongo-c-driver/commit/3491d2ba25985635b39cfc7ce69853228768f0aa

Generated at Wed Feb 07 21:10:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.