mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
Previously, if inventory failed for some reason, it would return an incomplete set of VMs which could then cause the pool to perform off behaviours such as fill the pool high than it should, or remove VMs which exist. Also, if the redis cache of VMs in a pool had a VM but it did not actually exist in the inventory it would never be removed. This commit: - Immediately exits the check_pool if an error occurs during inventory collection - Will mark a VM as completed if it exists in Redis, but does not exist in inventory - Adds tests for these behaviours |
||
|---|---|---|
| .. | ||
| api | ||
| providers | ||
| generic_connection_pool_spec.rb | ||
| pool_manager_spec.rb | ||