[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: |
|
||||||||
| 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: |