-
Type: Technical Debt
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
5
In WT-5630 we added functionality to wiredtiger that prevents it starting on too low of a version, I think it would be worth creating a python test that validates all three scenarios and errors returned within the new function __turtle_validate_version in meta_turtle.c
The three scenarios are:
1. A corrupt turtle file, or turtle file missing the version string. (done as part of WT-6004)
2. An version string that isn't parse able. (done as part of WT-6004)
3. Finally a version string that isn't compatible with the current WiredTiger version.
The python test will need to open a database, close it. Replace the turtle file with the corrupted / modified version. Then re-open the database and expect the error messages defined in __turtle_validate_version.