1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[opennebula] use flavors.get_by_name for live tests

for live tests there must be a template/flavor with the name foglivetest
This commit is contained in:
Achim Ledermüller 2014-06-05 10:15:59 +02:00
parent 8f726045df
commit d4676d6e7c

View file

@ -2,7 +2,7 @@ Shindo.tests("Fog::Compute[:opennebula] | vm_create and destroy request", 'openn
compute = Fog::Compute[:opennebula] compute = Fog::Compute[:opennebula]
name_base = Time.now.to_i name_base = Time.now.to_i
f = compute.flavors.get 4 f = compute.flavors.get_by_name("foglivetest").first
response = {} response = {}
tests("Allocate VM") do tests("Allocate VM") do