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 <gaurav.arad...@clogeny.com> Date: 2015-03-11T08:48:21Z CLOUDSTACK-8314: Add test case to validate VM.DESTROY event is logged when VM deployment fails ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---