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

Add a hook to check for open transactions after every test

    XMLWordPrintableJSON

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: