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

Allow resmoke to generate exclusion test tags based on the topology of the running (sharded) cluster fixture.

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • DevProd Correctness
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The team in charge of the Catalog & Routing asset is planning to introduce a slew of core JS tests to cover the behavior of key functionalities in sharded clusters.

      Some of the test cases require the running suite to provision a minimum number of nodes (in terms of shards and/or mongos) for correctly working. This could be expressed today by manually curating a new set of exclusion tags (under the requires_x_or_more_shards and requires_x_or_more_mongos format) on each suites that matches the values of the num_mongos and num_shards fixture parameters,, but it is a cumbersome and error prone process that may easily break.

      A better alternative would consist in having resmoke generate those tags at suite startup time by inspecting the configuration of the available fixture.

            Assignee:
            Unassigned Unassigned
            Reporter:
            paolo.polato@mongodb.com Paolo Polato
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: