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

fix broken DeathTest / util_test

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.0-rc0, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v4.4
    • Dev Tools 2020-03-23

      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.

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

              Created:
              Updated:
              Resolved: