mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[rackspace|compute_v2] fixing broken test
This commit is contained in:
parent
039d424f97
commit
308aed0bd1
1 changed files with 1 additions and 5 deletions
|
@ -106,11 +106,7 @@ Shindo.tests('Fog::Compute::RackspaceV2 | server_tests', ['rackspace']) do
|
|||
sleep 120 unless Fog.mocking?
|
||||
|
||||
tests('#resize_server').succeeds do
|
||||
if Fog.mocking?
|
||||
resize_flavor_id = flavor_id
|
||||
else
|
||||
resize_flavor_id = service.flavors[1]
|
||||
end
|
||||
resize_flavor_id = Fog.mocking? ? flavor_id : service.flavors[1].id
|
||||
service.resize_server(server_id, resize_flavor_id)
|
||||
end
|
||||
wait_for_server_state(service, server_id, 'VERIFY_RESIZE', 'ACTIVE')
|
||||
|
|
Loading…
Reference in a new issue