[CXX-1109] Integration tests should pass against server versions 2.4 through 3.0 Created: 28/Oct/16  Updated: 29/Nov/16  Resolved: 04/Nov/16

Status: Closed
Project: C++ Driver
Component/s: Testing
Affects Version/s: None
Fix Version/s: 3.1.0

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


 Description   

The integration test suite currently expects aggregations with $lookup and collMod invocations with a validator to run successfully on the server. However, these use features that were introduced in MongoDB 3.2; thus, the integration suite fails when run against older server versions. Depending on the server version, these tests should be changed to assert that the relevant operations fail with a server error.



 Comments   
Comment by Githook User [ 29/Nov/16 ]

Author:

{u'username': u'jrassi', u'name': u'J. Rassi', u'email': u'rassi@10gen.com'}

Message: CXX-1109 Integration tests should pass against server versions 2.4-3.0

Certain tests were making false assumptions about the server having
support for a particular feature. This commit fixes these tests.
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/4333db132058c0a467e5a6d8e324617e8c0b7439

Comment by Githook User [ 29/Nov/16 ]

Author:

{u'username': u'jrassi', u'name': u'J. Rassi', u'email': u'rassi@10gen.com'}

Message: CXX-1109 Add collMod integration test for changing TTL expiry time

The existing collMod integration test changes the validation document
on a collection, which uses a feature unsupported by server versions
older than 3.2. This commit adds a new collMod test, which will be
able to give us coverage for this command against old server versions.
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/ab2cd239f0f4aa033d5147cca121763b1b572b77

Comment by Githook User [ 04/Nov/16 ]

Author:

{u'username': u'jrassi', u'name': u'J. Rassi', u'email': u'rassi@10gen.com'}

Message: CXX-1109 Integration tests should pass against server versions 2.4-3.0

Certain tests were making false assumptions about the server having
support for a particular feature. This commit fixes these tests.
Branch: 3.1-dev
https://github.com/mongodb/mongo-cxx-driver/commit/4333db132058c0a467e5a6d8e324617e8c0b7439

Comment by Githook User [ 04/Nov/16 ]

Author:

{u'username': u'jrassi', u'name': u'J. Rassi', u'email': u'rassi@10gen.com'}

Message: CXX-1109 Add collMod integration test for changing TTL expiry time

The existing collMod integration test changes the validation document
on a collection, which uses a feature unsupported by server versions
older than 3.2. This commit adds a new collMod test, which will be
able to give us coverage for this command against old server versions.
Branch: 3.1-dev
https://github.com/mongodb/mongo-cxx-driver/commit/ab2cd239f0f4aa033d5147cca121763b1b572b77

Generated at Wed Feb 07 22:01:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.