Skip to content

Commit

Permalink
roachtest: run rebalance/by-load/*/mixed-version on insecure mode
Browse files Browse the repository at this point in the history
Authentication fails if migrating from 22.2 to 23.1. Disable secure mode
to avoid failing the test on this unrelated issue.

Fixes: #122179
Fixes: #122084

Release note: None
  • Loading branch information
kvoli committed Apr 11, 2024
1 parent 610688b commit 7256197
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pkg/cmd/roachtest/tests/rebalance_load.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,15 @@ func registerRebalanceLoad(r registry.Registry) {

if mixedVersion {
mvt := mixedversion.NewTest(ctx, t, t.L(), c, roachNodes, mixedversion.NeverUseFixtures,
mixedversion.ClusterSettingOption(install.ClusterSettingsOption(settings.ClusterSettings)),
mixedversion.ClusterSettingOption(
install.ClusterSettingsOption(settings.ClusterSettings),
// In 23.1, the `user_id` field was added to `system.web_sessions`.
// If the cluster is migrating to 23.1, auth-session login will not
// be aware of this new field and authentication will fail.
// TODO(DarrylWong): When 22.2 is no longer supported, we won't run
// into the above issue anymore and can enable secure clusters.
install.SecureOption(false),
),
)
mvt.InMixedVersion("rebalance load run",
func(ctx context.Context, l *logger.Logger, r *rand.Rand, h *mixedversion.Helper) error {
Expand Down

0 comments on commit 7256197

Please sign in to comment.