[ 
https://issues.apache.org/jira/browse/DTACLOUD-442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13566623#comment-13566623
 ] 

Marios Andreou commented on DTACLOUD-442:
-----------------------------------------

see https://issues.apache.org/jira/browse/DTACLOUD-441 - this issue is 
addressed there
                
> 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

Reply via email to