forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TESTS] Be less strict about breaker child limit
Failing a parent breaker check is eventually consistent, so the test could fail the parent limit, throw an exception, and before being adjusted back down, increment more and throw a circuit breaking exception on the child. This increases the child's limit, to ensure we're only testing the parent limit. It adds an additional assert to ensure that the breaker total is correctly re-adjusted when the parent breaker has been tripped.
- Loading branch information
Showing
1 changed file
with
5 additions
and
2 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