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

Make sleepmillis more conservative in slow transaction logging unit tests

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.5
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Repl 2018-12-03
    • Linked BF Score:
      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

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: