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

Change txn_commit_optimizations_for_read_only_shards.js to set transactionLifetimeLimitSeconds only for time-critical tests

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Sharding NYC
    • ALL
    • Sharding NYC 2023-06-26, Sharding NYC 2023-07-10
    • 5
    • 1

      Refactor the test to only set the `transactionLifetimeLimitSeconds = 30` for tests where testing the timing is critical and allow `transactionLifetimeLimitSeconds = unlimited` for other tests. This way we can avoid flakiness due to slow machines.

            Assignee:
            jason.zhang@mongodb.com Jason Zhang
            Reporter:
            sanika.phanse@mongodb.com Sanika Phanse (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: