Skip to content

Commit

Permalink
CI for common: avoid false error in helm test result
Browse files Browse the repository at this point in the history
Signed-off-by: Lianhao Lu <[email protected]>
  • Loading branch information
lianhao authored and leslieluyu committed Jul 18, 2024
1 parent dc90a59 commit 876b7a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/chart-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ jobs:
echo "Checking response results, make sure the output is reasonable. "
teststatus=false
if [[ -f $LOG_PATH/charts-${chart}.log ]] && \
[[ $(grep -c "Failed" $LOG_PATH/charts-${chart}.log) != 0 ]]; then
[[ $(grep -c "^Phase:.*Failed" $LOG_PATH/charts-${chart}.log) != 0 ]]; then
teststatus=false
else
teststatus=true
Expand Down

0 comments on commit 876b7a4

Please sign in to comment.