-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove race in ensure remote connection test (#72961)
Currently RemoteClusterConnectionTests#testEnsureConnected uses the same countdown latch for two ensure connected method calls. This introduces a race where the test ends before the second ensure connected method executes. This causes an exception to be thrown and the test to fail. This commit resolves the issue by adding a second latch. Fixes #71519.
- Loading branch information
1 parent
38cbf10
commit c3ea8df
Showing
1 changed file
with
6 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