Make sleepmillis more conservative in slow transaction logging unit tests

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.0.5
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • Repl 2018-12-03
    • 34
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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

              Assignee:
              Will Schultz
              Reporter:
              Will Schultz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: