Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-6619

Eliminate possibility of infinite loop in test_cursor13.py

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Trivial - P5 Trivial - P5
    • WT10.0.0, 4.4.2, 4.7.0
    • None
    • None
    • None

    Description

      WT-6589 added a infinite loop to test_cursor13.py. The test breaks out of the loop as soon as it reads stable statistics from the history store file. While it is highly unlikely that we would loop forever, it would be better to code this defensively and have the test fail if it needs to retry too many times.

      Attachments

        Activity

          People

            keith.smith@mongodb.com Keith Smith
            keith.smith@mongodb.com Keith Smith
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: