Details
-
Test
-
Status: Reopened
-
Minor
-
Resolution: Unresolved
-
None
-
Fgcp driver
Description
When running DC api tests (rake tests:deltacloud in root tests folder), the 'should allow to snapshot running instance if supported by provider' test is not skipped; it fails.
The FGCP doesn't not support creating snapshots from running instances. It does support creating images from stopped instances.
This test checks whether 'create_image' is set on the test server and if true, runs the test.
However, it doesn't check whether the server is running, and the server is never explicitly started after creation.
With the Fgcp, an newly created instance transitions from PENDING to STOPPED, hence the misunderstanding.
Suggesting to add code to ensure the instance is running before checking the create_image flag.
Attachments
Issue Links
- Is contained by
-
DTACLOUD-441 api tests don't clean up after themselves
- Closed