[SERVER-54093] Robustify javascript_heap_limit.js and hopefully other server-side JS tests on the code coverage variant Created: 28/Jan/21  Updated: 29/Oct/23  Resolved: 12/Feb/21

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Improvement Priority: Major - P3
Reporter: Charlie Swanson Assignee: Charlie Swanson
Resolution: Fixed Votes: 0
Labels: qopt-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Participants:
Linked BF Score: 22

 Description   

Executing javascript on the server is computationally expensive and subject to a 60 second timeout. We've seen that with some of our tests this timeout is a little too aggressive. Particularly on the code coverage variant which instruments the binary and adds overhead, and particularly with tests which stress-test the limits of JS execution like javascript_heap_limit.js



 Comments   
Comment by Githook User [ 12/Feb/21 ]

Author:

{'name': 'Charlie Swanson', 'email': 'charlie.swanson@mongodb.com', 'username': 'cswanson310'}

Message: SERVER-54093 Optimize allocation in javascript_heap_limit.js
Branch: master
https://github.com/mongodb/mongo/commit/b457f25a1f770e8a0f34989c3e5f0fac9a4cd29d

Generated at Thu Feb 08 05:32:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.