[SERVER-78110] Add stringifyForAssert for DatabaseName Created: 14/Jun/23 Updated: 29/Oct/23 Resolved: 12/Jul/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Sophia Tan | Assignee: | Didier Nadeau |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | ntdi_must_have | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Serverless
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Server Serverless 2023-07-10, Server Serverless 2023-07-24 | ||||||||
| Participants: | |||||||||
| Story Points: | 1 | ||||||||
| Description |
|
We have removed `DatabaseName::toString` used by the generic stringifyForAssert. We need a function to print DatabaseName correctly when a unit test fail, therefore we will make a specialized `stringifyForAssert` function for DatabaseName. Refer to the stringfyForAssert for NamespaceString class. |
| Comments |
| Comment by Githook User [ 11/Jul/23 ] |
|
Author: {'name': 'Didier Nadeau', 'email': 'didier.nadeau@mongodb.com', 'username': 'nadeaudi'}Message: |