Commit 40eb900
committed
fix(test/live): skip partial-return capacity test when weighted scenario yields <2 instances
EC2Fleet Maintain + spot uses weighted vmTypes, so capacity_to_request=4
can be fulfilled by a single physical instance with WeightedCapacity=4.
The partial-return-reduces-capacity test needs at least 2 physical
instances to terminate one and verify the other survives.
Mirrors the existing skip in test_partial_return_terminates_instance_only
(line 2237).1 parent 2ea5ac1 commit 40eb900
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1959 | 1959 | | |
1960 | 1960 | | |
1961 | 1961 | | |
1962 | | - | |
| 1962 | + | |
| 1963 | + | |
| 1964 | + | |
| 1965 | + | |
1963 | 1966 | | |
1964 | 1967 | | |
1965 | 1968 | | |
| |||
0 commit comments