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

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

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.6
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Fully Compatible
    • TIG 2017-04-17

      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.

            Assignee:
            jonathan.abrahams Jonathan Abrahams
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: