mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
Before this fix, if the pool had an excessive number of 'pending' vms, but was not full of 'ready' vms, we would end up clearing all the 'pending' vms regardless, which could bring us back under the max pool size. This fix makes sure we only remove the excess, see unit test for an example |
||
|---|---|---|
| .. | ||
| fixtures | ||
| integration | ||
| unit | ||
| helpers.rb | ||
| rbvmomi_helper.rb | ||
| spec_helper.rb | ||