[SERVER-35061] Javascript sleep should always emit an error when interrupted Created: 18/May/18 Updated: 29/Oct/23 Resolved: 23/May/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | JavaScript |
| Affects Version/s: | None |
| Fix Version/s: | 3.6.10, 4.0.0-rc1, 4.1.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Spencer Jackson | Assignee: | Spencer Jackson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Backport Requested: |
v4.0, v3.6
|
||||||||||||
| Sprint: | Platforms 2018-05-21, Platforms 2018-06-04 | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 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. |
| Comments |
| Comment by Githook User [ 20/Nov/18 ] |
|
Author: {'name': 'Spencer Jackson', 'email': 'spencer.jackson@mongodb.com', 'username': 'spencerjackson'}Message: (cherry picked from commit ae8f7d8160aef246ea4c31169d42865fc55e98c3) |
| Comment by Githook User [ 23/May/18 ] |
|
Author: {'username': 'spencerjackson', 'name': 'Spencer Jackson', 'email': 'spencer.jackson@mongodb.com'}Message: (cherry picked from commit ae8f7d8160aef246ea4c31169d42865fc55e98c3) |
| Comment by Githook User [ 23/May/18 ] |
|
Author: {'username': 'spencerjackson', 'name': 'Spencer Jackson', 'email': 'spencer.jackson@mongodb.com'}Message: |