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 f660a45 commit 1debefc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,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 1debefc

Please sign in to comment.