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

Remove hard kill testing for master/slave

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.10
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • 0

      Some of the jstests for master/slave do a hard kill (signal 9) as part of testing. This causes problems when MMAP is allocating a file when it is killed. We can now remove this flavor of testing without losing important test coverage.
      The tests that still do hard kills are:
      repl10.js:doTest(9); // SIGKILL
      repl2.js:doTest(9,

      {"vv": null, journal: null }

      ); // SIGKILL
      repl3.js:doTest( 9 ); // SIGKILL
      repl5.js:doTest(9,

      { journal: null }

      ); // SIGKILL

      The tests that have had killing already removed since 3.0 are:
      repl1.js:doTest( 9 ); // SIGKILL
      repl6.js:doTest( 9 ); // SIGKILL
      repl7.js:doTest(9,

      { journal: null }

      ); // SIGKILL

            Assignee:
            matthew.russotto@mongodb.com Matthew Russotto
            Reporter:
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: