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

Make sleepmillis more conservative in slow transaction logging unit tests

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

      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:
            william.schultz@mongodb.com William Schultz (Inactive)
            Reporter:
            william.schultz@mongodb.com William Schultz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: