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

Make sleepmillis more conservative in slow transaction logging unit tests

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.0.5
    • Replication
    • None
    • Fully Compatible
    • Repl 2018-12-03
    • 34

    Description

      In the TransactionParticipant unit tests, we currently sleep a bit to trigger the logging of slow transactions. Currently these sleeps are a bit flaky because they are very close to the slowMs value. We should increase the sleeps and consider reducing the slowMs value used in the test. The following tests should be updated:

      • LogTransactionInfoAfterSlowCommit
      • LogTransactionInfoAfterSlowAbort
      • LogTransactionInfoAfterSlowStashedAbort

      Attachments

        Issue Links

          Activity

            People

              william.schultz@mongodb.com William Schultz (Inactive)
              william.schultz@mongodb.com William Schultz (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: