vmpooler/spec/unit
Glenn Sarti e55a8825af (maint) Remove phatom VMs and ensure inventory is successful
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
2017-07-18 16:53:16 -07:00
..
api (POOLER-73) Restructure tests to unit and integration directories 2017-02-17 13:04:38 -08:00
providers (POOLER-83) Add ability to specify a datacenter for vsphere 2017-06-20 15:48:30 -07:00
generic_connection_pool_spec.rb (POOLER-52) Add recovery to vSphere connections 2017-05-17 13:52:28 -07:00
pool_manager_spec.rb (maint) Remove phatom VMs and ensure inventory is successful 2017-07-18 16:53:16 -07:00