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

hybrid_unique_index_with_updates.js should use a unique namespace for every test case

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.11
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Storage NYC 2019-05-06
    • Linked BF Score:
      10

      Description

      hybrid_unique_index_with_updates.js runs multiple variations of the basic test for unique indexes built using the hybrid method. The test uses the same namespace test.hybrid during every test run. Sometimes the fail point enabled in a test run may interfere with the clean up from finalizing the replication two phase drop on a collection used in a previous test run. To mitigate this issue and to improve diagnostics in the case of a test failure, we should consider using a different namespace for every test run. This also makes it unnecessary to remove the collection at the beginning of every test run.

        Attachments

          Activity

            People

            Assignee:
            benety.goh Benety Goh
            Reporter:
            benety.goh Benety Goh
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: