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 Oct 1, 2021
1 parent 5f53feb commit f8cfdae
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 2 deletions.
Binary file added pkg/cmd/roachtest/fixtures/1/checkpoint-v21.2.tgz
Binary file not shown.
Binary file added pkg/cmd/roachtest/fixtures/2/checkpoint-v21.2.tgz
Binary file not shown.
Binary file added pkg/cmd/roachtest/fixtures/3/checkpoint-v21.2.tgz
Binary file not shown.
Binary file not shown.
3 changes: 2 additions & 1 deletion pkg/cmd/roachtest/tests/predecessor_version.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ func PredecessorVersion(buildVersion version.Version) (string, error) {
// checkpoint option enabled to create the missing store directory
// fixture (see runVersionUpgrade).
verMap := map[string]string{
"21.2": "21.1.8",
"22.1": "21.2.0-beta.2",
"21.2": "21.1.9",
"21.1": "20.2.12",
"20.2": "20.1.16",
"20.1": "19.2.11",
Expand Down
2 changes: 1 addition & 1 deletion pkg/cmd/roachtest/tests/versionupgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ func waitForUpgradeStep(nodes option.NodeListOption) versionStep {
t.L().Printf("%s: waiting for cluster to auto-upgrade\n", newVersion)

for _, i := range nodes {
err := retry.ForDuration(30*time.Second, func() error {
err := retry.ForDuration(5*time.Minute, func() error {
currentVersion := u.clusterVersion(ctx, t, i).String()
if currentVersion != newVersion {
return fmt.Errorf("%d: expected version %s, got %s", i, newVersion, currentVersion)
Expand Down

0 comments on commit f8cfdae

Please sign in to comment.