Skip to content

Commit 39b8f02

Browse files
committed
test(hack): rename remediation-guard bats test to match what it pins
The test body asserts .status.history[].status extraction, but the test name still referenced the old installFailures counter (leftover from when the guard used that field before switching to status.history to avoid ClearFailures zeroing the counters on successful reconcile). Address review feedback from coderabbitai on hack/remediation-guard.bats:84: rename so grep for what the test actually pins matches the test name. Assisted-By: Claude <[email protected]> Signed-off-by: Aleksei Sviridkin <[email protected]>
1 parent b8aec9a commit 39b8f02

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎hack/remediation-guard.bats‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
fi
8282
}
8383

84-
@test "installFailures extraction pins HR v2 status.history shape" {
84+
@test "status.history extraction pins HR v2 status.history shape" {
8585
# Pins the Flux HelmRelease v2 .status.history[].status shape that
8686
# run-kubernetes.sh relies on. If a future flux release renames the
8787
# field, the jsonpath returns nothing, the guard reports no cycle,

0 commit comments

Comments
 (0)