Commit graph

2 commits

Author SHA1 Message Date
Yongrui Lin
c50ef6e64c test/declarative_validation: add hand-written Scale equivalence tests
Add declarative_validation_test.go under autoscaling/scale/ and apps/scale/
that invoke ValidateScaleUpdate via VerifyUpdateValidationEquivalenceFunc.
The tests observe the rules declared by the generated fixtures, satisfying
AssertDeclarativeCoverage for autoscaling/v1.Scale, apps/v1beta1.Scale,
and apps/v1beta2.Scale.
2026-05-13 20:35:04 +00:00
Yongrui Lin
87a1f97c90 test/declarative_validation: drop Scale allowlist exemptions and regen
Remove the autoscaling/v1.Scale, apps/v1beta1.Scale, and apps/v1beta2.Scale
entries from coverage-allowlist.yaml, then regenerate declarative-validation
test fixtures so the corresponding RegisterDeclaredRules calls and TestMain
files are emitted under autoscaling/scale/ and apps/scale/.
2026-05-13 20:08:14 +00:00