From 72513bd2d66d33888c4c4da6c3bd4661a502f76a Mon Sep 17 00:00:00 2001 From: Nathan VanBenschoten Date: Thu, 23 May 2019 10:14:29 -0400 Subject: [PATCH] roachtest: set min version for indexes tests 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 --- pkg/cmd/roachtest/indexes.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/cmd/roachtest/indexes.go b/pkg/cmd/roachtest/indexes.go index 2cb58e2911bc..fe4b0601c3f0 100644 --- a/pkg/cmd/roachtest/indexes.go +++ b/pkg/cmd/roachtest/indexes.go @@ -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