Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
nik9000 committed Feb 5, 2025
1 parent 37fb43e commit f5e9a28
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -216,11 +216,10 @@ private void assertCircuitBreaks(TryCircuitBreaking tryBreaking, MapMatcher resp
while (attempt <= MAX_ATTEMPTS) {
try {
Map<String, Object> response = tryBreaking.attempt(attempt);
logger.error("{}: should circuit broken but got {}", attempt, response);
logger.warn("{}: should circuit broken but got {}", attempt, response);
attempt++;
} catch (ResponseException e) {
Map<?, ?> map = responseAsMap(e.getResponse());
logger.info("expected circuit breaker {}", map);
assertMap(map, responseMatcher);
return;
}
Expand Down

0 comments on commit f5e9a28

Please sign in to comment.