Open HonoreDB opened 1 year ago
cc @cockroachdb/cdc
Test: I created one job.. insert 5 or 6 job info records... assert/expect only one job comes up when we do show jobs. Do it all with a fake resumer. Testjobtypemetrics (jay added recently) is a good template for this.
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. We should have tests (maybe logic tests?) making stricter assertions about these queries.
Jira issue: CRDB-26516
Epic CRDB-25040