mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 10:08:40 -05:00
(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:
parent
d36e7dbee2
commit
49ec06e151
11 changed files with 41 additions and 28 deletions
|
|
@ -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 :metrics, metrics
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue