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

failCommand fail point causes errors when run concurrently with other tests

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.6
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 2018-11-19
    • 10

      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).

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

              Created:
              Updated:
              Resolved: