Files
cozystack/internal/controller/tenantquota
Mattia Eleuteri cc412d44f2 test(controller): exercise the missing-root-LimitRange path under a compute-limit quota
TestReconcile_PoolRootWithoutLimitRange declared its root quota on cpu,
which the compute-limit gate does not count, so the sweep never looked
for the root's LimitRange and the test passed whatever that path did.
Declaring limits.cpu makes it reach the lookup, and it now fails if a
missing root LimitRange produces an empty copy.

Assisted-by: LLM
Signed-off-by: Mattia Eleuteri <mattia@hidora.io>
2026-11-13 13:07:08 +01:00
..