Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-388

Test against MongoDB 2.2 and 2.0 on MCI

      As part of merging Mongo-Orchestration into our testing framework we needed to temporarily disable testing against MongoDB 2.2 because orchestration is having trouble starting mongod. I think this is because 2.2 and older server versions do not accept "setParameter" as an argument and a fix requires a bit of work to plumb through.

      We could re-enable testing on 2.2 and 2.0 (since we know the driver already passes against them) by passing an "old-server" flag to scons which will invoke the tests in a way that does not attempt to enableTestCommands via setParameter (to be determined by implementer, but most likely via an additional argument to integration_test_main). That additional argument to the integration tests would tell orchestration to avoid starting mongod with "--setParameter=enableTestCommands=1".

      Note: The tests we have written that depend on test commands being enabled already know to skip themselves if running on 2.2 or earlier.

            Assignee:
            adam.midvidy Adam Midvidy
            Reporter:
            tyler@10gen.com Tyler Brock
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: