mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 10:08:40 -05:00
remove 'last minute' tcp vm_ready check from the api for pooled vms
the vm_ready methods should be implemented per provider and checking in the api creates issues since provider code is not available. Removing this for the V2 api
This commit is contained in:
parent
dd375b20c3
commit
a2d613782a
4 changed files with 9 additions and 40 deletions
|
|
@ -124,8 +124,7 @@ describe Vmpooler::API::V1 do
|
|||
end
|
||||
|
||||
it 'returns 503 for empty pool referenced by alias' do
|
||||
create_ready_vm 'pool1', vmname, redis
|
||||
post "#{prefix}/vm/poolone"
|
||||
create_ready_vm 'pool2', vmname, redis
|
||||
post "#{prefix}/vm/poolone"
|
||||
|
||||
expected = { ok: false }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue