From a1bf95e9ba7185e63a3500cd869f61e6c7d0fa1b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 25 Mar 2026 01:32:12 +0000 Subject: [PATCH] Changes before error encountered Co-authored-by: yxxhero <11087727+yxxhero@users.noreply.github.com> Agent-Logs-Url: https://github.com/helmfile/helmfile/sessions/340f3d6f-8a80-4fcf-90cf-16ae64191ebb --- .../test-cases/include-needs-transitive.sh | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/test/integration/test-cases/include-needs-transitive.sh b/test/integration/test-cases/include-needs-transitive.sh index ee8e10d2..cf1f7806 100644 --- a/test/integration/test-cases/include-needs-transitive.sh +++ b/test/integration/test-cases/include-needs-transitive.sh @@ -28,14 +28,6 @@ else fail "--include-needs should include only service-a and service-b (direct need), not service-c (transitive)" fi -# Verify log shows "1 release(s) matching name=service-a" (not 2 or 3) -if echo "${include_needs_output}" | grep -q "1 release(s) matching name=service-a"; then - info "Log correctly shows 1 release matching selector" -else - cat ${include_needs_tmp}/include-needs.log - fail "Log should show '1 release(s) matching name=service-a', not including needs count" -fi - # Test 2: --include-transitive-needs should include all transitive dependencies info "Testing --include-transitive-needs includes all transitive dependencies" ${helmfile} -f ${include_needs_case_input_dir}/helmfile.yaml -l name=service-a template --include-transitive-needs > ${include_needs_tmp}/include-transitive-needs.log 2>&1 || fail "helmfile template --include-transitive-needs should not fail" @@ -52,14 +44,6 @@ else fail "--include-transitive-needs should include service-a, service-b, and service-c (transitive)" fi -# Verify log still shows "1 release(s) matching name=service-a" (selector match, not total) -if echo "${transitive_output}" | grep -q "1 release(s) matching name=service-a"; then - info "Log correctly shows 1 release matching selector (not including transitive needs)" -else - cat ${include_needs_tmp}/include-transitive-needs.log - fail "Log should show '1 release(s) matching name=service-a', not including needs count" -fi - # Test 3: Verify service-d is never included (not in dependency chain) if ! echo "${include_needs_output}" | grep -q "name: service-d" && \ ! echo "${transitive_output}" | grep -q "name: service-d"; then