Skip to content

Commit 783ab08

Browse files
author
Tom Brandenburg
committed
fix: add circuit breaker basic template failure pattern
- Include 'Mock circuit breaker: operation failed' pattern - Fixes Template Validation Pipeline for circuit-breaker-basic-template - This template is designed to demonstrate failure handling by design
1 parent 7347e65 commit 783ab08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ templates-all: build
131131
! grep -q "bash:.*invalid variable name\|syntax error\|command not found.*get_var" "$$result_file"; then \
132132
echo " ✅ Expected behavior - template works (requires environment/template variables)"; \
133133
success=$$((success + 1)); \
134-
elif grep -q "Mock circuit breaker.*operation failed\|Circuit breaker operation failed" "$$result_file" && \
134+
elif grep -q "Mock circuit breaker.*operation failed\|Circuit breaker operation failed\|Mock circuit breaker: operation failed" "$$result_file" && \
135135
! grep -q "bash:.*invalid variable name\|syntax error\|command not found.*get_var" "$$result_file"; then \
136136
echo " ✅ Expected behavior - circuit breaker demonstrating failure handling"; \
137137
success=$$((success + 1)); \

0 commit comments

Comments
 (0)