Files
floci/src/test
Hector Ventura aeb11d77c3 test(autoscaling): scope mixed-policy override assertion to Overrides block (#1609)
updateMixedInstancesPolicyOverridesAndDistribution asserted that the
DescribeAutoScalingGroups response contained no <InstanceType>t4g.medium</InstanceType>
anywhere after switching the override to r7g.large. The background
AutoScalingReconciler may have already launched an instance with the
original t4g.medium override, which legitimately keeps its instance type
after a policy update (matching AWS). That instance appears under
<Instances>, making the whole-response assertion flaky.

Scope the negative check to the <Overrides> block so it verifies the
policy was updated without being tripped by a previously launched
instance.
2026-06-27 00:53:42 -05:00
..