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

fully_disabled_feature_flags.yml does not affect tagged jstests

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL

      jstests that are tagged with feature flags that are in the fully_disabled_feature_flags.yml file are not excluded correctly.

      I am not sure if this was intentional or not. It would make sense for us to not allow fully disabled tests to exist in the repo but this is not documented and is not intuitive.

      Original message in slack:

      Hi! I am facing an issue with tests being run despite turning off the feature flag they require and excluding it from running in all feature flag variant (buildscripts/resmokeconfig/fully_disabled_feature_flags.yml).The tests contain the following tags:

       *  [~tags:] [
       *    requires_fcv_70,
       *    featureFlagOnlineMovePrimaryLifecycle
       * ]
      

      The above changes were made as part of this PR.
      The linked BFG for BF-28839 shows the tests being run in both all variants build and others on the master. What is causing them to run?
      Created with Jira Integration+ for trevor.guidry (trevor.guidry@mongodb.com)

            Assignee:
            trevor.guidry@mongodb.com Trevor Guidry
            Reporter:
            trevor.guidry@mongodb.com Trevor Guidry
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: