[SERVER-71463] Pretty print unittest failure summary Created: 17/Nov/22  Updated: 05/Dec/22  Resolved: 18/Nov/22

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

Type: Task Priority: Major - P3
Reporter: Jason Chan Assignee: [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-71464 Pretty print unittest failure summary Closed
Assigned Teams:
Server Development Platform
Participants:

 Description   

Currently, the unittest failure summary prints out a long hard-to-read list of test failures like so:

{"t":{"$date":"2022-11-16T19:18:37.961Z"},"s":"I",  "c":"TEST",     "id":23068,   "ctx":"main","msg":"FAILURE","attr":{"failedTestsCount":5,"failedSuitesCount":2,"failedTests":["LogicalRewriter/NotPushdownToplevel","LogicalRewriter/NotPushdownUnderLambdaSuccess","LogicalRewriter/NotPushdownUnderLambdaKeepOuterTraverse","PhysRewriter/FilterIndexingVariable","PhysRewriter/NotPushdownUnderLambdaKeepOuterTraverse"]}}

It would be nice to be able to convert the structured logging format into something more readable, where each test failure has its only line entry.


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