Skip to content

Commit

Permalink
roachtest: update version map and test fixtures for 22.1
Browse files Browse the repository at this point in the history
Release justification: Non-production code change.
Release note: None
  • Loading branch information
celiala committed Sep 3, 2021
1 parent 3c84787 commit 3fc6605
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/cmd/roachtest/tests/predecessor_version.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ func PredecessorVersion(buildVersion version.Version) (string, error) {
// checkpoint option enabled to create the missing store directory
// fixture (see runVersionUpgrade).
verMap := map[string]string{
"22.1": "21.2.0-alpha.1",
"21.2": "21.1.8",
"21.1": "20.2.12",
"20.2": "20.1.16",
Expand Down
2 changes: 2 additions & 0 deletions pkg/cmd/roachtest/tests/versionupgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ func runVersionUpgrade(ctx context.Context, t test.Test, c cluster.Cluster) {
// the 20.2 release, this test will fail because it is missing a fixture for
// 20.1; run the test (on 20.1) with the bool flipped to create the fixture.
// Check it in (instructions will be logged below) and off we go.
// TODO(celia) set this to true and regenerate fixtures,
// as per https://cockroachlabs.atlassian.net/wiki/spaces/ENG/pages/73105625/Release+process#Releaseprocess-Updateversionmapinroachtestandregeneratetestfixtures
if false {
// The version to create/update the fixture for. Must be released (i.e.
// can download it from the homepage); if that is not the case use the
Expand Down

0 comments on commit 3fc6605

Please sign in to comment.