Changefeeds are not currently exercised in logic tests or other data driven testing. Adding coverage here could close some test coverage gaps and add an intuitive method to test changefeeds.
Some brainstorm ideas on how to expand data driven testing:
Add a changefeed logic test config that allows the logic test framework to create changefeeds on tables created in logic tests and compares the rows emitted to results from the queries or a testdata file
Could try to stream to a table (experimental sql sink) and query the table for results
Could stream to different sink types. May need to add support to convert each sink's feed into a universally comparable format.
Add logic test directives to manipulate sinks (e.g., dump content, slow response)
Changefeeds are not currently exercised in logic tests or other data driven testing. Adding coverage here could close some test coverage gaps and add an intuitive method to test changefeeds.
Some brainstorm ideas on how to expand data driven testing:
Jira issue: CRDB-38781
Epic CRDB-38755