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:
parent
8f726045df
commit
d4676d6e7c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue