[SERVER-30557] Make max_time_ms.js more robust Created: 08/Aug/17  Updated: 30/Oct/23  Resolved: 28/Aug/17

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.4.16, 3.5.13

Type: Improvement Priority: Major - P3
Reporter: Tess Avitabile (Inactive) Assignee: Tess Avitabile (Inactive)
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.4
Sprint: Query 2017-09-11
Participants:
Linked BF Score: 4

 Description   

To account for slow machines, we should increase the length of the maxTimeMS here while still keeping it less than the value of the sleep here. This will not increase the time of the test.

We should also guarantee that the {slow: true} documents are coming at the end by using a sort on the _id here.



 Comments   
Comment by Githook User [ 25/May/18 ]

Author:

{'username': 'tessavitabile', 'name': 'Tess Avitabile', 'email': 'tess.avitabile@mongodb.com'}

Message: SERVER-30557 Make max_time_ms.js more robust

(cherry picked from commit c07190d3bba7b755d234f8c722ba87213a29cd81)
Branch: v3.4
https://github.com/mongodb/mongo/commit/ae53ff0702ae4e9b8432564afcc8eb193c02fc27

Comment by Githook User [ 28/Aug/17 ]

Author:

{'username': 'tessavitabile', 'name': 'Tess Avitabile', 'email': 'tess.avitabile@mongodb.com'}

Message: SERVER-30557 Make max_time_ms.js more robust
Branch: master
https://github.com/mongodb/mongo/commit/c07190d3bba7b755d234f8c722ba87213a29cd81

Generated at Thu Feb 08 04:24:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.