-
Type: Technical Debt
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
8
-
StorEng - Refinement Pipeline
The CppSuite framework code provides default implementations for the following operations: populate, insert, update, remove. The expectation was that the majority of tests would only need to overload 1 or maybe 2 of these operations. However a number of tests have been written recently that overload most of the operations.
This could be caused by a few things but the main likely reason is that the default implementation doesn't meet the needs of the test writer.
I think there would be value in re-visiting the default implementations and seeing if we can incorporate features that would make them use-able by the tests that are overloading them.
Some common examples are:
- Update being overloaded as it utilizes the database_model key count
- Populate being overloaded as it utilizes key ids instead of randomized keys
Scope:
- Investigate tests with a large number of overloaded operations
- Try to improve the default implementation
- Remove the overloaded implementation
- is related to
-
WT-9270 Ideas to improve the code style/flexibility of the cpp suite
- Open