[
https://issues.apache.org/jira/browse/DTACLOUD-442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dies Koper resolved DTACLOUD-442.
---------------------------------
Resolution: Fixed
Pushed in commit 152247911e61041e35202ffdd22b2c160a390008 after moving the
comments about fgcp to the commit message.
> Fgcp: api instances test 'should allow to snapshot running instance if
> supported by provider' is run even though provider does not support it
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: DTACLOUD-442
> URL: https://issues.apache.org/jira/browse/DTACLOUD-442
> Project: DeltaCloud
> Issue Type: Test
> Components: Server
> Environment: Fgcp driver
> Reporter: Dies Koper
> Assignee: Dies Koper
> Priority: Minor
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira