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

Add a hook to check for open transactions after every test

    • Replication
    • Repl 2019-07-01, Repl 2019-07-15

      Passthrough tests run validation hooks after every test. These tests should first have a hook that looks for open transactions, if so marks the test as failed, and then aborts the transactions.

      Non-passthrough tests run validation when the cluster is stopped. These tests should run the same hook.

      Tests are not allowed to leave transactions open and it is considered a bug, but it should not lead to a test hang.

            Assignee:
            backlog-server-repl Backlog - Replication Team
            Reporter:
            judah.schvimer@mongodb.com Judah Schvimer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: