mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[glesys|compute] fixed tests due to changes in the api
This commit is contained in:
parent
2bf79e8dae
commit
0d926a1a47
2 changed files with 5 additions and 3 deletions
|
@ -7,7 +7,9 @@ class Glesys
|
|||
'arguments' => [],
|
||||
'servers' => [{
|
||||
'serverid' => String,
|
||||
'hostname' => String
|
||||
'hostname' => String,
|
||||
'datacenter' => String,
|
||||
'platform' => String,
|
||||
}],
|
||||
'status' => {
|
||||
'code' => String,
|
||||
|
@ -144,6 +146,7 @@ class Glesys
|
|||
'platform' => String,
|
||||
'ip' => String,
|
||||
'version' => String,
|
||||
'PTR' => String,
|
||||
}],
|
||||
'status' => {
|
||||
'code' => String,
|
||||
|
@ -172,7 +175,6 @@ class Glesys
|
|||
IPLIST_CATCH_RELEASE = {
|
||||
'arguments' => {
|
||||
'ipaddress' => String,
|
||||
'ipversion'=> String,
|
||||
},
|
||||
'status' => {
|
||||
'code' => String,
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Shindo.tests('Fog::Compute[:glesys] | server requests', ['glesys']) do
|
||||
|
||||
@serverid = nil
|
||||
@hostname = "fog.#{Time.now.to_i}"
|
||||
@hostname = "fog-#{Time.now.to_i}"
|
||||
|
||||
@create = ":hostname => #@hostname, :rootpw => 'pw#{Time.now.to_i}', "+
|
||||
":datacenter => 'Falkenberg', :platform => 'Xen', :template => 'Debian-6 x64', "+
|
||||
|
|
Loading…
Add table
Reference in a new issue