From 876b7a4142e2e1e7a25f25ac279f043c844f1687 Mon Sep 17 00:00:00 2001 From: Lianhao Lu Date: Wed, 17 Jul 2024 19:56:04 +0800 Subject: [PATCH] CI for common: avoid false error in helm test result Signed-off-by: Lianhao Lu --- .github/workflows/chart-e2e.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/chart-e2e.yaml b/.github/workflows/chart-e2e.yaml index f7d46fb3..1309a1d8 100644 --- a/.github/workflows/chart-e2e.yaml +++ b/.github/workflows/chart-e2e.yaml @@ -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