From ac75bd509e0ad4299dec6b088dcb68b2ce8978c3 Mon Sep 17 00:00:00 2001 From: Wenyi Hu Date: Mon, 29 Jan 2024 17:25:18 -0500 Subject: [PATCH] added ob sarama --- pkg/cmd/roachtest/tests/cdc.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/cmd/roachtest/tests/cdc.go b/pkg/cmd/roachtest/tests/cdc.go index 01f1b69aa07a..1027581103ae 100644 --- a/pkg/cmd/roachtest/tests/cdc.go +++ b/pkg/cmd/roachtest/tests/cdc.go @@ -59,6 +59,7 @@ import ( "github.com/cockroachdb/cockroach/pkg/util/retry" "github.com/cockroachdb/cockroach/pkg/util/timeutil" "github.com/cockroachdb/errors" + "github.com/stretchr/testify/require" "golang.org/x/oauth2/clientcredentials" ) @@ -1258,6 +1259,8 @@ func registerCDC(r registry.Registry) { RequiresLicense: true, Run: func(ctx context.Context, t test.Test, c cluster.Cluster) { ct := newCDCTester(ctx, t, c) + _, err := ct.DB().Exec(`SET CLUSTER SETTING server.child_metrics.enabled = true`) + require.NoError(t, err) defer ct.Close() ct.runTPCCWorkload(tpccArgs{warehouses: 100, duration: "10m"})