Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[wip] migrations,server: allow tests to override minimum supported ve…
…rsion Certain tests override the binary version (for e.g. in order to test the execution of a specific migration association with a specific cluster version). For these tests we also want to bypass the bootstrap ("is too old for running version") version check, especially as we bump the minimum supported version past a bunch of cluster versions that were introduced in the last release cycle (cockroachdb#69828). We could technically delete all the past-release cluster version handling code before introducing next release development versions, but it's easy to keep it around to simplify backports (and also it's a lot of code to get rid of, only to allow next-release versions to be added). Allowing these tests to override the minimum supported version is a convenient workaround. --- This commit updates one of the many failing tests blocking cockroachdb#69828, but not all of them. The approach in this commit of providing a sister testing knob `BinaryMinSupportedVersion` might not be sufficient due to interactions with the cluster version setting (see comments on cockroachdb#69828). It's possible we want to go all the way and all tests to install a clusterversion.Handle instead. Leaving this PR up for posterity. Release note: None
- Loading branch information