Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-71464

Pretty print unittest failure summary

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Development Platform
    • Fully Compatible

      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 own line entry.

            Assignee:
            trevor.guidry@mongodb.com Trevor Guidry
            Reporter:
            jason.chan@mongodb.com Jason Chan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: