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

Update test framework to align with C++ style

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT10.0.0, 4.9.0, 4.4.5
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: