Skip to content

Commit

Permalink
SOLR-16954: Fix test failure in UPDATE circuit breaker (#1896)
Browse files Browse the repository at this point in the history
(cherry picked from commit aeea7bc)
  • Loading branch information
janhoy committed Sep 8, 2023
1 parent a940231 commit 5251fad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public String getDebugInfo() {

@Override
public String getErrorMessage() {
return "CPU Circuit Breaker triggered as seen CPU usage is above allowed threshold."
return "CPU Circuit Breaker triggered as seen CPU usage is above allowed threshold. "
+ "Seen CPU usage "
+ seenCPUUsage.get()
+ " and allocated threshold "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public String getDebugInfo() {

@Override
public String getErrorMessage() {
return "Memory Circuit Breaker triggered as JVM heap usage values are greater than allocated threshold."
return "Memory Circuit Breaker triggered as JVM heap usage values are greater than allocated threshold. "
+ "Seen JVM heap memory usage "
+ seenMemory.get()
+ " and allocated threshold "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
</query>

<circuitBreaker class="solr.MemoryCircuitBreaker">
<double name="threshold">75</double>
<double name="threshold">99</double>
<arr name="requestTypes">
<str>update</str>
</arr>
Expand Down

0 comments on commit 5251fad

Please sign in to comment.