Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
108880: sql: deflake TestDropTableWhileUpgradingFormat r=annrpom a=annrpom Previously, the `CheckKeyCountIncludingTombstoned` call in TestDropTableWhileUpgradingFormat flaked with a key count mismatch error (expected: 100, actual: 0). This was odd because this key counting failure was directly after rows were committed. To address this, this patch adds a retry for the `CheckKeyCountIncludingTombstoned` logic in case this is due to a race condition. Epic: none Fixes: #108340 Release note (sql change): deflake TestDropTableWhileUpgradingFormat Co-authored-by: Annie Pompa <annie@cockroachlabs.com>
- Loading branch information