[
https://issues.apache.org/jira/browse/CLOUDSTACK-8314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14356499#comment-14356499
]
ASF GitHub Bot commented on CLOUDSTACK-8314:
--------------------------------------------
GitHub user gauravaradhye opened a pull request:
https://github.com/apache/cloudstack/pull/110
CLOUDSTACK-8314: Add test case to validate VM.DESTROY event is logged when
VM deployment fails
VM is created with huge service offering so that VM creation fails.
In this case, following events should be logged:
1. VM.CREATE
2. VM.DESTROY
3. VM.DELETE
4. VM.CREATE
Log:
Check events in usage_events table when VM creation fails ... === TestName:
test_01_positive_tests_usage | Status : SUCCESS ===
ok
----------------------------------------------------------------------
Ran 1 test in 10.457s
OK
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gauravaradhye/cloudstack 8314
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/110.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #110
----
commit a280c3b7695d8f0daf3f69f32e95db7b6a92a202
Author: Gaurav Aradhye <[email protected]>
Date: 2015-03-11T08:48:21Z
CLOUDSTACK-8314: Add test case to validate VM.DESTROY event is logged when
VM deployment fails
----
> Add test case to confirm VM.DESTROY event is logged in case VM deployment
> fails
> -------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-8314
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8314
> Project: CloudStack
> Issue Type: Test
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Automation
> Affects Versions: Future
> Reporter: Gaurav Aradhye
> Assignee: Gaurav Aradhye
> Labels: Automation
> Fix For: Future
>
>
> Add test case to confirm VM.DESTROY event is logged in case VM deployment
> fails
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)