Skip to content

Commit

Permalink
added ob sarama
Browse files Browse the repository at this point in the history
  • Loading branch information
wenyihu6 committed Jan 30, 2024
1 parent d7b15c1 commit ac75bd5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/cmd/roachtest/tests/cdc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down Expand Up @@ -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"})
Expand Down

0 comments on commit ac75bd5

Please sign in to comment.