Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-14027

Python tests for WT_WRITE_CONFLICT rollback sub-level error

    • Storage Engines
    • 3
    • StorEng - 2025-02-04

      This ticket is to improve the current catch2 unit test for the WT_WRITE_CONFLICT rollback sub-level error workflow. The test coverage must be improved to ensure correctness. There are also multiple ways to reproduce this error, and these must all be tested. This ticket follows from WT-13947.

      Definition of Done
      The catch2 branch coverage for the WT_WRITE_CONFLICT sub-level is increased and all sources of reproducing the error is tested.

      UPDATE:

      Creating new unit tests for WT_WRITE_CONFLICT is too complex for the scope of this project. They require allocation of many different components which creates too much complexity and draws attention away from the purpose of the unit test.

      The test coverage can instead be improved much more easily and cleaner with Python tests instead using the session api. 

            Assignee:
            dylan.liang@mongodb.com Dylan Liang (Inactive)
            Reporter:
            dylan.liang@mongodb.com Dylan Liang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: