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

Make sleepmillis more conservative in slow transaction logging unit tests

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.0.5
    • None
    • 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

        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: