verifyMidpointTransactionMetrics should use assert.gte instead of assert.eq

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • ALL
    • Cluster Scalability 2024-07-22
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Currently verifyMidpointTransactionMetrics uses assert.eq to check that "totalContactedParticipants" is incremented by exactly the expected number of participants in the transaction started by the test. However background threads can also run concurrent transactions that increment the "totalContactedParticipants" count. As a result, the test should be using assert.gte instead to see if "totalContactedParticipants" is incremented by at least the expected number of participants rather than exactly the expected number of participants. 

            Assignee:
            Wenqin Ye
            Reporter:
            Wenqin Ye
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: