Skip to content

Commit 1511979

Browse files
chore : update time for the circuit breaker to transition to the half open state
1 parent 6142329 commit 1511979

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test-em-all.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,9 @@ function testCircuitBreaker() {
210210
assertCurl 404 "curl -k https://${HOST}:${PORT}${BASE_URL}/$PROD_ID_NOT_FOUND $AUTH -s"
211211
assertEqual "Product Id: $PROD_ID_NOT_FOUND not found in fallback cache!" "$(echo ${RESPONSE} | jq -r .message)"
212212

213-
# Wait for the circuit breaker to transition to the half open state (i.e. max 10 sec)
214-
echo "Will sleep for 15 sec waiting for the CB to go Half Open..."
215-
sleep 15
213+
# Wait for the circuit breaker to transition to the half open state (i.e. max 25 sec)
214+
echo "Will sleep for 25 sec waiting for the CB to go Half Open..."
215+
sleep 25
216216

217217
# Verify that the circuit breaker is in half open state
218218
assertEqual "HALF_OPEN" "$(${EXEC} wget store:8080/actuator/health -qO - | \

0 commit comments

Comments
 (0)