cockroachdb / cockroachdb/cockroach

Add better support for topic validation in nemesis changefeed tests

Open
#139,033 4 comments 0 reactions 0 assignees View on GitHub
A-cdc C-enhancement T-cdc
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

Right now in nemesis tests when we test changefeeds with the full_table_name option we assume that for a table {foo}, the full table name will be d.public.{foo}. That is to say the values d and public are hardcoded. We should be able to support other values for the db and schema names.

Additionally, we do not test behavior when the user specifies a topic name.

**Describe the solution you'd like**
If there were a way to both run the test with dbs and schemas with different names and to fetch those at assertion time, that would be ideal.
Also, we should be able to specify a topic name at changefeed creation time and test that it is respected in the topic name validator.

Jira issue: CRDB-46481

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.