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

Enable counting index tests on sharded passthrough suites

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Catalog and Routing
    • 2

    Description

      Few index passthrough tests need to check the number of indexes of a collection. They are excluded from the sharded passthrough suites because sharded collections have an extra index on the shardKey.

      Instead of excluding them, we can adapt these tests to expect an extra index checking the method FixtureHelper.isSharded(coll) (like list_catalog.js is already doing).

      Here is the list of the tests affected by this:

      • jstests/core/**/apitest_dbcollection.js
      • jstests/core/**/bad_index_plugin.js
      • jstests/core/**/create_indexes.js
      • jstests/core/**/list_indexes_non_existent_ns.js
      • jstests/core/**/mr_preserve_indexes.js

      Attachments

        Activity

          People

            backlog-server-catalog-and-routing Backlog - Catalog and Routing
            silvia.surroca@mongodb.com Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: