Skip to content

Commit

Permalink
copy: enhance copyfrom roachtest
Browse files Browse the repository at this point in the history
Add 3 node config for more retry coverage and turn off backups since its
a perf test.

Release note: none
Epic: CRDB-25321
Informs: cockroachdb#99327
  • Loading branch information
cucaroach committed Jun 14, 2023
1 parent e051ef2 commit 92e185f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/cmd/roachtest/tests/copyfrom.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func runCopyFromPG(ctx context.Context, t test.Test, c cluster.Cluster, sf int)

func runCopyFromCRDB(ctx context.Context, t test.Test, c cluster.Cluster, sf int, atomic bool) {
c.Put(ctx, t.Cockroach(), "./cockroach", c.All())
c.Start(ctx, t.L(), option.DefaultStartOpts(), install.MakeClusterSettings(), c.All())
c.Start(ctx, t.L(), option.DefaultStartOptsNoBackups(), install.MakeClusterSettings(), c.All())
initTest(ctx, t, c, sf)
db, err := c.ConnE(ctx, t.L(), 1)
require.NoError(t, err)
Expand Down Expand Up @@ -151,6 +151,7 @@ func registerCopyFrom(r registry.Registry) {
nodes int
}{
{sf: 1, nodes: 1},
{sf: 1, nodes: 3},
}

for _, tc := range testcases {
Expand Down

0 comments on commit 92e185f

Please sign in to comment.