[SERVER-79262] Catch jstest module related error in runtime Created: 24/Jul/23  Updated: 29/Oct/23  Resolved: 25/Jul/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Jiawei Yang Assignee: Jiawei Yang
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
Backwards Compatibility: Fully Compatible
Sprint: Repl 2023-08-07
Participants:

 Description   

When we have both module and load style jstests, we use shouldTryExecAsModule at compile time to decide whether we should run using modules. We should also do this at runtime.



 Comments   
Comment by Githook User [ 25/Jul/23 ]

Author:

{'name': 'Jiawei Yang', 'email': 'jiawei.yang@mongodb.com', 'username': 'YoungYang0820'}

Message: SERVER-79262 catch module related exception
Branch: master
https://github.com/mongodb/mongo/commit/6b52db90b34ebd9551cb0a6e3c94fab2408171bb

Generated at Thu Feb 08 06:40:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.