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

fix broken DeathTest / util_test

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.4.0-rc0, 4.7.0
    • None
    • None
    • None
    • Fully Compatible
    • v4.4
    • Dev Tools 2020-03-23

    Description

      DeathTest doesn't catch all exceptions and can let children that were supposed to die think that they're parents who need to run tests, thus causing recursion. Fix DeathTest such that the children can't escape their dying context.

       

      util_test tests that massert dies, but massert doesn't die and instead just throws, resuling in the above error. Just remove the massert tests.

       

      Hopefully this doesn't uncover some other hitherto unseen failure.

      Attachments

        Activity

          People

            gabriel.russell@mongodb.com Gabriel Russell (Inactive)
            gabriel.russell@mongodb.com Gabriel Russell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: