From f9cf8055677cffb9045a73a88196e6df944a4f05 Mon Sep 17 00:00:00 2001 From: Michael Butler Date: Fri, 10 Feb 2023 16:30:16 -0500 Subject: [PATCH] roachtest: disable scheduled backup in rust-postgres node restart Fixes #96799 Release note: None --- pkg/cmd/roachtest/tests/rust_postgres.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkg/cmd/roachtest/tests/rust_postgres.go b/pkg/cmd/roachtest/tests/rust_postgres.go index db23d83e8d06..41bf8f205990 100644 --- a/pkg/cmd/roachtest/tests/rust_postgres.go +++ b/pkg/cmd/roachtest/tests/rust_postgres.go @@ -126,7 +126,10 @@ func registerRustPostgres(r registry.Registry) { // We stop the cluster and restart with a port of 5433 since Rust postgres // has all of it's test hardcoded to use that port. c.Stop(ctx, t.L(), option.DefaultStopOpts(), c.All()) - startOpts := option.DefaultStartOpts() + + // Don't restart the cluster with automatic scheduled backups because roachprod's internal sql + // interface, through which the scheduled backup executes, is naive to the port change. + startOpts := option.DefaultStartOptsNoBackups() startOpts.RoachprodOpts.ExtraArgs = []string{"--port=5433"} c.Start(ctx, t.L(), startOpts, install.MakeClusterSettings(), c.All())