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

[digitalocean|compute] power_state_tests fixes

Do not wait for the server to be ready before running the tests since
the server may be powered off.
This commit is contained in:
Sergio Rubio 2013-03-31 21:24:21 +02:00
parent 7cc9fdef3f
commit 5e9034115b

View file

@ -7,7 +7,6 @@ Shindo.tests('Fog::Compute[:digitalocean] | power on/off/shutdown requests',
tests('success') do
test('#power_off_server') do
server.wait_for(180) { server.ready? }
service.power_off_server(server.id).body['status'] == 'OK'
end