[SERVER-31502] Add more leniency to timing assertion in awaitdata_getmore_cmd.js Created: 10/Oct/17  Updated: 30/Oct/23  Resolved: 24/Oct/17

Status: Closed
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: None
Fix Version/s: 3.6.0-rc2

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

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Sprint: Query 2017-10-23, Query 2017-11-13
Participants:
Linked BF Score: 0

 Description   

This assertion is relying on a condition variable to not wake up until the deadline has passed, but the condition_variable::wait_for() method is allowed to wake up prematurely. We should relax the assertion to allow for an early wake up.



 Comments   
Comment by Githook User [ 24/Oct/17 ]

Author:

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

Message: SERVER-31502 Relax timing assertion in awaitdata_getmore_cmd.js
Branch: master
https://github.com/mongodb/mongo/commit/33d13ea4dd387165602481df29aa760949c9d3b2

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