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

Query test suite(s) with shared sharding fixture

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration

      We have many query tests which need to do something special with a ShardingTest - often just sharding a collection and ensuring it's on two different shards or something like that.

      I think we should invest in a way to have these tests share a single sharded cluster, to dramatically speed up the tests and also de-clutter the logs. Each test could have a unique collection name or db name, similar to jscore. Unlike the sharded jscore passthrough, it would be expected/encouraged for tests to modify the sharding distribution of their datasets.

            Assignee:
            backlog-query-integration [DO NOT USE] Backlog - Query Integration
            Reporter:
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: