-
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.
sql: TestReacquireLeaseOnRestart fix
Previously we had an extra condition in an if statement which caused this failure. This was the condition `errors.Is(err, errRenewLease)` it is now removed and we now set toRelease to nil when `session != nil` Fixes: #129421 Release note: none
- Loading branch information
1 parent
6be7b6f
commit 95df273
Showing
2 changed files
with
4 additions
and
3 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
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