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

Update test framework to align with C++ style

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.0, 4.9.0, 4.4.5
    • Affects Version/s: None
    • Component/s: None
    • None
    • 5
    • Storage - Ra 2021-02-22

      Error handling routine consistency:

      • Replace all instances of WT_RET with a new function that does something similar to:
        check_success(int errorcode, _LINE_) and aborts the test program in case of an error.

      Configuration parser:

      • Update the configuration_settings.h to return a std::optional instead of return an error code and passing a pointer, effectively converting from C style to C++ style.

      Main function of poc.cxx:

      • Return error code instead of exception when parsing args

      random_generator class:

      • random_generator should delete copy constructor and = operator

            Assignee:
            etienne.petrel@mongodb.com Etienne Petrel
            Reporter:
            luke.pearson@mongodb.com Luke Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: