mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[rackspace|compute] fixing broken tests
This commit is contained in:
parent
4df3e77e5e
commit
c8b667da13
2 changed files with 4 additions and 3 deletions
|
@ -190,9 +190,6 @@ Shindo.tests('Fog::Compute::RackspaceV2 | server', ['rackspace']) do
|
|||
@instance.wait_for { ready? }
|
||||
end
|
||||
|
||||
wait_for_server_deletion(@instance)
|
||||
delete_test_network(@network)
|
||||
|
||||
#When after testing resize/resize_confirm we get a 409 when we try to resize_revert so I am going to split it into two blocks
|
||||
model_tests(service.servers, options, true) do
|
||||
@instance.wait_for { ready? }
|
||||
|
@ -208,4 +205,7 @@ Shindo.tests('Fog::Compute::RackspaceV2 | server', ['rackspace']) do
|
|||
end
|
||||
@instance.wait_for { ready? }
|
||||
end
|
||||
|
||||
wait_for_server_deletion(@instance)
|
||||
delete_test_network(@network)
|
||||
end
|
||||
|
|
|
@ -118,6 +118,7 @@ Shindo.tests('Fog::Compute::RackspaceV2 | server_tests', ['rackspace']) do
|
|||
|
||||
tests('#resize_server').succeeds do
|
||||
resize_flavor_id = Fog.mocking? ? flavor_id : service.flavors[1].id
|
||||
puts "****RESIZING FROM: #{flavor_id} TO: #{resize_flavor_id}"
|
||||
service.resize_server(server_id, resize_flavor_id)
|
||||
end
|
||||
wait_for_server_state(service, server_id, 'VERIFY_RESIZE', 'ACTIVE')
|
||||
|
|
Loading…
Add table
Reference in a new issue