(POOLER-138) Support multiple pools per alias

This change updates handling of pool aliases to allow for more than a
single pool to be configured as an alias pool. Without this change if
multiple pools are configured as an alias the last one to configure it
is set as the alias for that pool.

Additionally, redis testing requirements are removed in favor of
mock_redis. Without this change a redis server is required to run
vmpooler tests.
This commit is contained in:
kirby@puppetlabs.com 2019-01-17 13:35:19 -08:00
parent d36e7dbee2
commit 49ec06e151
11 changed files with 41 additions and 28 deletions

View file

@ -32,8 +32,6 @@ describe Vmpooler::API::V1 do
let(:current_time) { Time.now }
before(:each) do
redis.flushdb
app.settings.set :config, config
app.settings.set :redis, redis
app.settings.set :config, auth: false