[SERVER-38837] Make periodic_runner_impl_test more lenient in OnePausableJobResumesCorrectly Created: 04/Jan/19  Updated: 29/Oct/23  Resolved: 16/Jan/19

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 4.0.7, 4.1.8

Type: Bug Priority: Major - P3
Reporter: Matthew Saltz (Inactive) Assignee: Matthew Saltz (Inactive)
Resolution: Fixed Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.0
Sprint: Sharding 2019-01-28
Participants:
Linked BF Score: 15

 Description   

The test OnePausableJobResumesCorrectly expects a count to be a certain value but that value is non-deterministic which leads to non-deterministic test failures. Widening the range of possible values will reduce failures.



 Comments   
Comment by Githook User [ 11/Feb/19 ]

Author:

{'name': 'Matthew Saltz', 'email': 'matthew.saltz@mongodb.com', 'username': 'saltzm'}

Message: SERVER-38837 Fix race in periodic_runner_impl_test OnePausableJobResumesCorrectly

(cherry picked from commit 781be1ad38c79b755d28414c842527ff049c9d5d)
Branch: v4.0
https://github.com/mongodb/mongo/commit/68373f3a8d773544a074650bbccaaea683639eb8

Comment by Githook User [ 16/Jan/19 ]

Author:

{'username': 'saltzm', 'email': 'matthew.saltz@mongodb.com', 'name': 'Matthew Saltz'}

Message: SERVER-38837 Fix race in periodic_runner_impl_test OnePausableJobResumesCorrectly
Branch: master
https://github.com/mongodb/mongo/commit/781be1ad38c79b755d28414c842527ff049c9d5d

Comment by Matthew Saltz (Inactive) [ 14/Jan/19 ]

CR: https://mongodbcr.appspot.com/230670001/

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