Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: get cdc_bench cursor at least 1s after table creation #138854

Merged
merged 1 commit into from
Jan 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pkg/cmd/roachtest/tests/cdc_bench.go
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ func runCDCBenchScan(
`./cockroach workload init kv --splits %d {pgurl:%d}`, numRanges, nData[0]))
require.NoError(t, roachtestutil.WaitFor3XReplication(ctx, t.L(), conn))

time.Sleep(1 * time.Second)
cursor := timeutil.Now() // before data is ingested

// Ingest data. init allows us to import into the existing table. However,
Expand Down
Loading