-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
roachtest: update version map and fixtures #55445
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I only see the fixtures in There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah, thank you! Done :) |
||
"19.2": "19.1.11", | ||
"19.1": "2.1.9", | ||
"2.2": "2.1.9", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Here. |
||
predV, err := PredecessorVersion(*version.MustParse("v" + newV)) | ||
if err != nil { | ||
t.Fatal(err) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The fixtures also need to be updated like in this PR.
Note, there were some issues with this in the last couple releases that should be fixed now. If you need it, see #55253 for reference.