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

Javascript sleep should always emit an error when interrupted

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.10, 4.0.0-rc1, 4.1.1
    • JavaScript
    • None
    • Fully Compatible
    • ALL
    • v4.0, v3.6
    • Platforms 2018-05-21, Platforms 2018-06-04
    • 11

    Description

      If a Javascript operation is interrupted while sleeping, it should not be possible for the sleep to be interrupted and the script to complete without an error. Instead, the script should terminate with an error.

      Attachments

        Issue Links

          Activity

            People

              spencer.jackson@mongodb.com Spencer Jackson
              spencer.jackson@mongodb.com Spencer Jackson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: