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

Use 'requires_profiling' tag to exclude profile tests from core passthroughs

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible

      Description

      Lines like this one currently exclude profiling tests from the sharded passthroughs:

      sharded_collections_jscore_passthrough.yml

        - jstests/core/profile*.js  # profiling.
      

      We added the 'requires_profiling' tag at some point, it looks like it was used for the mobile build variants. I suggest we update the suites to exclude based on the tag rather than based on the name.

      We should then exclude this tag from other sharded suites, such as aggregation_mongos_passthrough. That should help us avoid causing failures and trouble by moving tests around and by naming the test something without 'profile', such as this other one.

        Attachments

          Activity

            People

            Assignee:
            arun.banala Arun Banala
            Reporter:
            charlie.swanson Charlie Swanson
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: