From 1debefc18dfbdd552e43f3863ec42f90754a7088 Mon Sep 17 00:00:00 2001 From: Andrew Werner Date: Tue, 22 Nov 2022 19:13:22 +0000 Subject: [PATCH] testccl/workload/schemachange: shorten test 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 --- .../workload/schemachange/schema_change_external_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/ccl/testccl/workload/schemachange/schema_change_external_test.go b/pkg/ccl/testccl/workload/schemachange/schema_change_external_test.go index 754dbce520b8..1a5c4f233d88 100644 --- a/pkg/ccl/testccl/workload/schemachange/schema_change_external_test.go +++ b/pkg/ccl/testccl/workload/schemachange/schema_change_external_test.go @@ -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++ {