Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-19347

Generic upgrade/downgrade jstest framework

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.7
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • Fully Compatible
    • CAP - 3.1.6, CAP - 3.1.7, CAP 8 08/31/15

      The testing for upgrade/downgrade could use a generic testing framework.

      What is envisioned for the first version of this is a basic test:

      • Start mongod with a specified version and options
      • Perform a setup function
        • Insert documents into a collection
        • Create a capped collection and insert documents
        • Create an index
      • Stop mongod
      • Restart mongod with a different specifed version and same options
      • Perform verification function
        • Check number of documents in collection
        • Check the indexes
        • Check collection is capped
      • Stop mongod

            Assignee:
            jonathan.abrahams Jonathan Abrahams
            Reporter:
            jonathan.abrahams Jonathan Abrahams
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: