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 released 19.2.11, and 20.1.7
to the version map in PredecessorVersion.

Release note: None (testing change)
  • Loading branch information
celiala committed Oct 15, 2020
1 parent f53bbc8 commit 4cef828
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 3 deletions.
Binary file modified pkg/cmd/roachtest/fixtures/1/checkpoint-v19.2.tgz
Binary file not shown.
Binary file modified pkg/cmd/roachtest/fixtures/1/checkpoint-v20.1.tgz
Binary file not shown.
Binary file modified pkg/cmd/roachtest/fixtures/2/checkpoint-v19.2.tgz
Binary file not shown.
Binary file modified pkg/cmd/roachtest/fixtures/2/checkpoint-v20.1.tgz
Binary file not shown.
Binary file modified pkg/cmd/roachtest/fixtures/3/checkpoint-v19.2.tgz
Binary file not shown.
Binary file modified pkg/cmd/roachtest/fixtures/3/checkpoint-v20.1.tgz
Binary file not shown.
Binary file modified pkg/cmd/roachtest/fixtures/4/checkpoint-v19.2.tgz
Binary file not shown.
Binary file modified pkg/cmd/roachtest/fixtures/4/checkpoint-v20.1.tgz
Binary file not shown.
4 changes: 2 additions & 2 deletions pkg/cmd/roachtest/test_runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -1171,8 +1171,8 @@ 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{
"20.2": "20.1.6",
"20.1": "19.2.9",
"20.2": "20.1.7",
"20.1": "19.2.11",
"19.2": "19.1.11",
"19.1": "2.1.9",
"2.2": "2.1.9",
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.6"
newV := "20.1.7"
predV, err := PredecessorVersion(*version.MustParse("v" + newV))
if err != nil {
t.Fatal(err)
Expand Down

0 comments on commit 4cef828

Please sign in to comment.