schema: create a "golden descriptor" upgrade test #57435
Labels
C-cleanup
Tech debt, refactors, loose ends, etc. Solution not expected to significantly change behavior.
T-sql-foundations
SQL Foundations Team (formerly SQL Schema + SQL Sessions)
The issue we saw in #57032 would have been averted had we had a test that upgraded a descriptor from version 19.1 with foreign keys all the way up to 20.2.
We've been discussing a test framework that can provide such testing.
The test framework should allow the creation of a schema corpus that is pinned to a version.
For each corpus, for each version, the test should upgrade the corpus through each of the versions to the present.
@ajwerner added something similar in #57066. Maybe this is all we need? What else would we need besides that set of tests to feel like we can catch more problems of this nature?
Jira issue: CRDB-3535
The text was updated successfully, but these errors were encountered: