Skip to content

Commit

Permalink
testccl/workload/schemachange: shorten test
Browse files Browse the repository at this point in the history
When it runs with 800, it gets more likely that it's going to run into backoffs
and it takes non-linearly longer.

Fixes #92187

Release note: None
  • Loading branch information
ajwerner committed Nov 22, 2022
1 parent 1ff09bf commit 5ebdcf1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func TestWorkload(t *testing.T) {
ql, err := wl.Ops(ctx, []string{pgURL.String()}, reg)
require.NoError(t, err)

const N = 800
const N = 100
workerFn := func(ctx context.Context, fn func(ctx context.Context) error) func() error {
return func() error {
for i := 0; i < N; i++ {
Expand Down

0 comments on commit 5ebdcf1

Please sign in to comment.