[CDRIVER-422] Integrate tests with MongoOrchestration Created: 17/Sep/14  Updated: 12/Aug/15  Resolved: 17/Jul/15

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.2-beta0

Type: New Feature Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Unassigned
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 CDRIVER-675 Test with wiredtiger Closed
Related
related to CDRIVER-497 Run full test suite in Continuous Int... Closed

 Comments   
Comment by A. Jesse Jiryu Davis [ 17/Jul/15 ]

On Linux, Mac, Windows, Solaris we now start a standalone mongod, latest nightly build, with Orchestration. Still todo: multiple mongod versions, SSL on / off, auth on / off, and multiple deployment topologies.

Comment by A. Jesse Jiryu Davis [ 19/Jun/15 ]

Work is currently on the 1.2.0-dev branch in .mci.yml:

https://github.com/mongodb/mongo-c-driver/blob/1.2.0-dev/.mci.yml

As of this writing, the driver uses Mongo Orchestration on Linux, OSX, and Windows to start a standalone mongod of the latest nightly build. It starts it with auth and creates a root user "bob" / "pwd123", then sets env vars:

                export MONGOC_TEST_USER=bob
                export MONGOC_TEST_PASSWORD=pwd123

Auth is required for the C driver tests to pass.

This should be expanded to cover three topologies (CDRIVER-497) and all mongod versions back to 2.2.

This is a good example of how to test multiple versions:

https://github.com/mongodb/mongo-cxx-driver/blob/legacy/.mci.yml

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