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

Creating test configuration framework using the WiredTiger configuration API

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.0, 4.9.0, 4.4.4
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • 5
    • Storage - Ra 2021-01-25, Storage - Ra 2021-02-08

      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.

            luke.pearson@mongodb.com Luke Pearson
            luke.pearson@mongodb.com Luke Pearson
            0 Vote for this issue
            2 Start watching this issue