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

Move assertions out of testshard1.js that depend on data distribution

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

      The balancer in testshard1.js is turned on to mimic a client enviroment where aggregations are issued concurrently with balancing. More recently the balancer was changed in a way that sometimes left the cluster with all chunks on one shard, which exposed some assertions in this test that depend on a particular data distribution. Such assertions are not appropriate for this test and should instead construct their own cluster which matches their assumptions.

            Assignee:
            charlie.swanson@mongodb.com Charlie Swanson
            Reporter:
            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: