Skip to content

Commit

Permalink
roachtest: update version map and fixtures
Browse files Browse the repository at this point in the history
This commit adds the recently release 20.2.8 to the version map.
And generates test fixtures.

Release note: None
  • Loading branch information
alyshanjahani-crl committed Apr 27, 2021
1 parent fd2ab67 commit 212a424
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 2 deletions.
Binary file modified pkg/cmd/roachtest/fixtures/1/checkpoint-v20.2.tgz
Binary file not shown.
Binary file modified pkg/cmd/roachtest/fixtures/2/checkpoint-v20.2.tgz
Binary file not shown.
Binary file modified pkg/cmd/roachtest/fixtures/3/checkpoint-v20.2.tgz
Binary file not shown.
Binary file modified pkg/cmd/roachtest/fixtures/4/checkpoint-v20.2.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion pkg/cmd/roachtest/test_runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -1197,7 +1197,7 @@ func PredecessorVersion(buildVersion version.Version) (string, error) {
// (see runVersionUpgrade). The same is true for adding a new key to this
// map.
verMap := map[string]string{
"21.1": "20.2.6",
"21.1": "20.2.8",
"20.2": "20.1.15",
"20.1": "19.2.11",
"19.2": "19.1.11",
Expand Down
2 changes: 1 addition & 1 deletion pkg/cmd/roachtest/versionupgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func runVersionUpgrade(ctx context.Context, t *test, c *cluster, buildVersion ve
// 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
// empty string which uses the local cockroach binary.
newV := "20.1.15"
newV := "20.2.8"
predV, err := PredecessorVersion(*version.MustParse("v" + newV))
if err != nil {
t.Fatal(err)
Expand Down

0 comments on commit 212a424

Please sign in to comment.