-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: fix TestValidationWithProtectedTS flake
Previously, the test TestValidationWithProtectedTS would hang if a Go routine would hit an error, since a channel would not be posted. It would also not gracefully handle TS after replica GC errors on transactions, which could happen on overloaded machines. To address this patch makes the test more resilient to the Go routine hitting errors so that it doesn't time out, and adds retry logic for TS after replica GC errors. Fixes: #123447 Release note: None
- Loading branch information
Showing
1 changed file
with
20 additions
and
5 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