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

failCommand fail point causes errors when run concurrently with other tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.1.6
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 2018-11-19
    • 10

    Description

      The failcommand_failpoint.js test puts a failpoint on find as part of the testing. When it is run in parallel with certain suites that also use find in their tests, it can cause both the tests to fail. In this case, failcommand_failpoint.js has to be added to the blacklists of replica_sets_kill_secondaries_jscore_passthrough and replica_sets_initsync_jscore_passthrough.

      Alternatively, we could use similar logic to what the checkForInterrupt failpoint does (https://github.com/mongodb/mongo/blob/r4.1.4/src/mongo/db/operation_context.cpp#L172-L215, https://github.com/mongodb/mongo/blob/r4.1.4/jstests/libs/jstestfuzz/check_for_interrupt_hook.js#L18-L22).

      Attachments

        Activity

          People

            natalie.tsvetkova@mongodb.com Natalie Tsvetkova
            natalie.tsvetkova@mongodb.com Natalie Tsvetkova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: