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

Improve failure details for NTDI jstests

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Server Serverless 2023-06-26, Server Serverless 2023-07-10
    • 162

      We recently had a test failure which gave no information about the reason of the failure beside a the location in the code of the failure.

      For instance, we should favor the use of 

       

      assert.eq(a, b, details);

      over

       

       

      assert(a == b);

      An example of code can be found here.

      I think we should make similar changes to the `native_tenant_data_isolation*` existing tests we have.

       

            Assignee:
            mathis.bessa@mongodb.com Mathis Bessa (Inactive)
            Reporter:
            mathis.bessa@mongodb.com Mathis Bessa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: