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:
Samuel Beaulieu 2022-03-29 12:01:17 -05:00
parent dd375b20c3
commit a2d613782a
No known key found for this signature in database
GPG key ID: 12030F74136D0F34
4 changed files with 9 additions and 40 deletions

View file

@ -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 }