mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Make CloudSigma snapshot tests pending
There appears to be a number of bugs in the CloudSigma mock interface. The `snapshots` key is `nil` and adding a new snapshot fails. Working around that, the tests timeout because there is no mechanism to change the snapshots state from "creating" so it never becomes `available?`
This commit is contained in:
parent
33d438e440
commit
4fb6da70e1
3 changed files with 4 additions and 0 deletions
|
@ -1,4 +1,6 @@
|
|||
Shindo.tests('Fog::Compute[:cloudsigma] | snapshot model', ['cloudsigma']) do
|
||||
pending if Fog.mocking?
|
||||
|
||||
volume = Fog::Compute[:cloudsigma].volumes.create(:name => 'fogmodeltest', :size => 1024**3, :media => :disk)
|
||||
volume.wait_for { available? } unless Fog.mocking?
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
Shindo.tests('Fog::Compute[:cloudsigma] | snapshots collection', ['cloudsigma']) do
|
||||
pending if Fog.mocking?
|
||||
|
||||
volume = Fog::Compute[:cloudsigma].volumes.create(:name => 'fogtest', :size => 1024**3, :media => :disk)
|
||||
volume.wait_for { available? } unless Fog.mocking?
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
Shindo.tests('Fog::Compute[:cloudsigma] | snapshot requests', ['cloudsigma']) do
|
||||
pending if Fog.mocking?
|
||||
|
||||
@snapshot_format = {
|
||||
'uuid' => String,
|
||||
|
|
Loading…
Add table
Reference in a new issue