cockroachdb / cockroachdb/cockroach
cdc, jobs: better tests for SHOW [jobtype] JOBS output
Open
A-jobs
C-enhancement
T-cdc
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
We recently had a bug that introduced duplicates into SHOW JOBS and SHOW type JOBS, among other problems, [and no tests appeared to fail from the duplicates alone](https://cockroachlabs.slack.com/archives/C9TGBJB44/p1680195622169179?thread_ts=1680189751.939299&cid=C9TGBJB44). We should have tests (maybe logic tests?) making stricter assertions about these queries.
Jira issue: CRDB-26516
Epic CRDB-25040
Contributor guide
Assessment
This issue has not been assessed yet.