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

Rewrite `txn_two_phase_commit_killop.js` and `txn_two_phase_commit_failover.js` as unit-tests

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
    • Sharding

      The txn_two_phase_commit_killop.js and txn_two_phase_commit_failover.js tests are inscrutable and rely on an exact number of times certain strategically placed failpoints are hit and show up in the log.

      These tests would be much better if implemented as unit-tests of the TransactionCoordinator's logic.

            Assignee:
            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: