[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: Certain tests were making false assumptions about the server having |
| Comment by Githook User [ 29/Nov/16 ] |
|
Author: {u'username': u'jrassi', u'name': u'J. Rassi', u'email': u'rassi@10gen.com'}Message: The existing collMod integration test changes the validation document |
| Comment by Githook User [ 04/Nov/16 ] |
|
Author: {u'username': u'jrassi', u'name': u'J. Rassi', u'email': u'rassi@10gen.com'}Message: Certain tests were making false assumptions about the server having |
| Comment by Githook User [ 04/Nov/16 ] |
|
Author: {u'username': u'jrassi', u'name': u'J. Rassi', u'email': u'rassi@10gen.com'}Message: The existing collMod integration test changes the validation document |