-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
59321: sql: fix schema change failure test r=pbardea a=pbardea This schema change test relied on the backfiller not ingesting any of the keys that violated the unique constraint, rather than on the ROLLBACK job cleaning up the KVs generated. Changing `schemachanger.backfiller.buffer_size` and `schemachanger.backfiller.max_buffer_size` to 1 triggered a failure on this test. This simulates what happens when a batch that does not contain a violating key is ingested and flushed in the backfiller. After this change, the test waits for the rollback job and corresponding GC job to complete before checking for any garbage. Release note: None Co-authored-by: Paul Bardea <[email protected]>
- Loading branch information
Showing
1 changed file
with
24 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters