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

transactionLifetimeLimitSeconds parameter should be set to high value for noPassthrough tests

    • Fully Compatible
    • ALL
    • v4.0
    • Storage NYC 2018-06-04, Storage NYC 2018-06-18
    • 79

      The transactionLifetimeLimitSeconds server parameter indicates how long a transaction may run for before it is aborted by a background thread. For tests, we set it to an extremely high value.

      However, fixtures started by tests in the noPassthrough suite have the default value of 60 seconds. This seems strange though, since it means that each test which uses transactions is responsible for setting the parameter manually. It's easy to forget to this (like in this test).

      I think the test fixtures should be modified so that this flag is set to a higher value (or at least, the test linked to above should use the higher value).

            Assignee:
            maria.vankeulen@mongodb.com Maria van Keulen
            Reporter:
            ian.boros@mongodb.com Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: