Skip to content

Commit

Permalink
roachtest: set min version for indexes tests
Browse files Browse the repository at this point in the history
Fixes #37761.

The tests use the `CONFIGURE ZONE USING ... COPY FROM PARENT` syntax,
so they require at least version 19.1.0.

Release note: None
  • Loading branch information
nvanbenschoten committed May 23, 2019
1 parent 3792bf0 commit 72513bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/cmd/roachtest/indexes.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ func registerNIndexes(r *registry, secondaryIndexes int) {
r.Add(testSpec{
Name: fmt.Sprintf("indexes/%d/nodes=%d/multi-region", secondaryIndexes, nodes),
Cluster: makeClusterSpec(nodes+1, cpu(16), geo(), zones(geoZonesStr)),
// Uses CONFIGURE ZONE USING ... COPY FROM PARENT syntax.
MinVersion: `v19.1.0`,
Run: func(ctx context.Context, t *test, c *cluster) {
firstAZ := geoZones[0]
lastNodeInFirstAZ := nodes / 3
Expand Down

0 comments on commit 72513bd

Please sign in to comment.