Skip to content

Commit 953c9a2

Browse files
authored
Merge pull request #154909 from cockroachdb/blathers/backport-release-24.1-135335
release-24.1: roachtest: increase kv.closed_timestamp.target_duration for copyfrom
2 parents b39a584 + f7ccd79 commit 953c9a2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkg/cmd/roachtest/tests/copyfrom.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,9 @@ func runCopyFromCRDB(ctx context.Context, t test.Test, c cluster.Cluster, sf int
148148
// Enable the verbose logging on relevant files to have better understanding
149149
// in case the test fails.
150150
startOpts.RoachprodOpts.ExtraArgs = append(startOpts.RoachprodOpts.ExtraArgs, "--vmodule=copy_from=2,insert=2")
151-
c.Start(ctx, t.L(), startOpts, install.MakeClusterSettings(), c.All())
151+
// roachtest frequently runs on overloaded instances and can timeout as a result
152+
clusterSettings := install.MakeClusterSettings(install.ClusterSettingsOption{"kv.closed_timestamp.target_duration": "60s"})
153+
c.Start(ctx, t.L(), startOpts, clusterSettings, c.All())
152154
initTest(ctx, t, c, sf)
153155
db, err := c.ConnE(ctx, t.L(), 1)
154156
require.NoError(t, err)

0 commit comments

Comments
 (0)