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

Creating test configuration framework using the WiredTiger configuration API

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT10.0.0, 4.9.0, 4.4.4
    • Component/s: None
    • Labels:
      None

      Description

      Currently WiredTiger has an api_data.py and an api_config.py the first defines the WiredTiger API configuration which then gets turned into C by the second.

      For our stress testing framework we'd like to use the same API however we don't want to share the same api_data.py file.

      The work here is to create a test_data.py file which is read in by api_config.py and executed via s_all. It will create a test_config.c in test/cppsuite and a test_config.h (if necessary) also in test/cppsuite.

      To validate it is working as expected the existing POC cpp test should have a basic config created which changes the default db directory.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              luke.pearson Luke Pearson
              Reporter:
              luke.pearson Luke Pearson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: