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

Create a NOTFeatureFlagX metatag for resmoke tests

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Correctness
    • Fully Compatible

      When developing a feature, it is common to break a host of existing tests before a series of PR's have been completed. This can involve surgery on existing tests to disable them. In order to ease this process, I propose a new meta-tag that disables a test when a feature flag is on. It makes testing easier to modify and reason about.

      * @tags: [
      *     NOTfeatureFlagX,
      * ]

      It would be nice if this would work for all types of tests including fsm workloads - which are a little trickier to disable cleanly.

       

      There is already the ability today to include a test only when a feature flag is enabled via a "featureFlagX" tag. This ticket is for the inverse of that.

       

            Assignee:
            trevor.guidry@mongodb.com Trevor Guidry
            Reporter:
            matt.kneiser@mongodb.com Matt Kneiser
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: