shard_existing_coll_chunk_count.js should use more relaxed conditions for chunk count

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.1.3
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2018-09-10
    • 13
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently shard_existing_coll_chunk_count.js checks for exact equality on chunk count, but if the timing of inserts is slightly off, the test will fail because there will be too few chunks even though everything is working properly. The easiest workaround for this is to use a more relaxed condition and assert that the number of chunks created is greater than or equal to some minimum amount.

            Assignee:
            Matthew Saltz (Inactive)
            Reporter:
            Matthew Saltz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: