Skip to content

Commit 3ab2d0d

Browse files
alyshanjahani-crldhartunian
authored andcommitted
roachtest: bump min version for db-console/mixed-version-endpoints roachtest
Previously the mixed version roachtest would fail whenever test plans included versions of crdb < 24.3. This was because a handful of /api/v2 endpoints were added in 24.3 (and not backported), and so they would return 404s in the test on versions prior. This commit bumps the min version to 24.3.0. Fixes: #150601, #148875, #149866 Release note: None
1 parent 43fb32f commit 3ab2d0d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pkg/cmd/roachtest/tests/db_console_endpoints.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,8 @@ func registerDBConsoleEndpointsMixedVersion(r registry.Registry) {
110110
func runDBConsoleMixedVersion(ctx context.Context, t test.Test, c cluster.Cluster) {
111111
mvt := mixedversion.NewTest(ctx, t, t.L(), c,
112112
c.CRDBNodes(),
113-
// We test only upgrades from 23.2 in this test because it uses
114-
// the `workload init` command, which is only supported
115-
// reliably multi-tenant mode starting from that version.
116-
mixedversion.MinimumSupportedVersion("v23.2.0"),
113+
// In 24.3 new endpoints were added to /api/v2 server.
114+
mixedversion.MinimumSupportedVersion("v24.3.0"),
117115
)
118116

119117
mvt.InMixedVersion("test db console endpoints", func(ctx context.Context, l *logger.Logger, rng *rand.Rand, h *mixedversion.Helper) error {

0 commit comments

Comments
 (0)