[SERVER-40358] Add assertion helpers like 'StatusOKWithContext' to all macros Created: 27/Mar/19 Updated: 29/Oct/23 Resolved: 13/Dec/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.3 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Charlie Swanson | Assignee: | Eric Cox (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng, qopt-team | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Query 2019-12-16, Query 2019-12-30 |
| Participants: |
| Description |
|
We have some very useful assertion macros like uassertStatusOKWithContext, but the API is not consistent across the various assertions like 'invariant' and 'fassert'. I'd personally like to see at least invariant be brought up to par with the helpers available for 'uasset', including:
|
| Comments |
| Comment by Githook User [ 13/Dec/19 ] |
|
Author: {'name': 'Eric Cox', 'email': 'eric.cox@mongodb.com', 'username': 'ericox'}Message: |