Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
64703: roachtest: fix multitenant-upgrade r=erikgrinaker a=tbg The test failed for two reasons: - it was hard-coding 20.2 in one place where it shouldn't have - it implicitly assumes that PredecessorVersion(21.2) is a 21.1 release that has cockroachdb#60730, but that will only be true in a month or so (when we have 21.1.1). Without cockroachdb#60730, tenant 11 in the test will have no cluster version persisted and so things don't work well. Work around this by setting the cluster version explicitly. This isn't a production concern since we are not going to upgrade tenants without a cluster version into 21.2; they will either have been created by a 21.1.1+ host cluster (and thus have a cluster version) or been migrated from a 20.2 deployment into a 21.1.1+ deployment, which also entails giving them a cluster version. Fixes cockroachdb#64615. Release note: None Co-authored-by: Tobias Grieger <tobias.b.grieger@gmail.com>
- Loading branch information