[SERVER-37386] Separate ASSERT_EQ (a == b || a == b + 1) into ASSERT_LTE and ASSERT_GTE in periodic_runner_impl_test Created: 28/Sep/18  Updated: 29/Oct/23  Resolved: 10/Oct/18

Status: Closed
Project: Core Server
Component/s: Concurrency
Affects Version/s: None
Fix Version/s: 4.1.5

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:
Depends
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 2018-10-22
Participants:
Linked BF Score: 15

 Description   

Right now if a unit test in periodic_runner_impl_test fails here there's no way to tell what the actual count was in the failing test since the unit test framework won't print the actual value of count. If we split this into calls to ASSERT_LTE/GTE we'd be able to better debug failures.



 Comments   
Comment by Githook User [ 10/Oct/18 ]

Author:

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

Message: SERVER-37386 Make periodic_runner_impl_test more diagnosable
Branch: master
https://github.com/mongodb/mongo/commit/0d4e8a8b21b7ba1e765d42feabafa7e835686b08

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