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

Add support to parse resmoke.py tags from a separate YAML file

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.6
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Epic Link:
    • Sprint:
      TIG 2017-04-17

      Description

      1. Add a new feature to resmoke.py to associate tests with tags based on the contents of a separate YAML file.

      selector:
        js_test:
          jstests/core/bench_test1.js:
          - unreliable
      

      Note: This format may be extended to support the "cpp_unit_test" test kind in the future. (SERVER-22170)

      2. Add a --tagFile command line option to resmoke.py that defaults None. The resmoke.py invocation in the "run tests" function of etc/evergreen.yml project configuration will always specify --tagFile=etc/test_lifecycle.yml. (An etc/test_lifecycle.yml file that has the aforementioned structure, but doesn't specify any files should be committed alongside this work.)

      3. Update the filter_jstests() function in the selector.py module to additional find tags associated with a particular test file additional from the tag file.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: