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

Python unit test suite should have a common get_stat function

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Test Python
    • Storage Engines
    • StorEng - Defined Pipeline

      In the Python test suite, there are over 40 tests that all define their own local version of def get_stat to get the value of a statistic. Additionally, there are over 200 other tests that manually open a statistics cursor inline to get statistic values.

      We should create a common/universal get_stat function that all tests can use, remove the each-test ones and fix the manual cursor ones to use the new function.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            sue.loverso@mongodb.com Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: