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

Pretty print unittest failure summary

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Development Platform

      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.

            Assignee:
            backlog-server-devplatform [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
            Reporter:
            jason.chan@mongodb.com Jason Chan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: