-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/15668/#review29219
-----------------------------------------------------------


Commit b43b4b28b6780454405062d0963dae4af80e497b in branch refs/heads/4.3 from 
Gaurav Aradhye
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=b43b4b2 ]

CLOUDSTACK-5201: Correcting code related to schedule of
 recurring snapshot policy


- ASF Subversion and Git Services


On Nov. 19, 2013, 10:25 a.m., Gaurav Aradhye wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15668/
> -----------------------------------------------------------
> 
> (Updated Nov. 19, 2013, 10:25 a.m.)
> 
> 
> Review request for cloudstack, Girish Shilamkar and SrikanteswaraRao Talluri.
> 
> 
> Bugs: CLOUDSTACK-5201
>     https://issues.apache.org/jira/browse/CLOUDSTACK-5201
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> -------
> 
> The test case was failing while getting snapshots' list because minutes were 
> passed in the schedule of snapshot policy when the intervalType is "Hourly". 
> Passes hours and changed wait time accordingly to get the snapshots list.
> 
> 
> Diffs
> -----
> 
>   test/integration/component/test_base_image_updation.py b70bea5 
> 
> Diff: https://reviews.apache.org/r/15668/diff/
> 
> 
> Testing
> -------
> 
> Tested locally on KVM advanced. No Xen advanced up right now.
> 
> Log:
> test_04_reoccuring_snapshot_rules 
> (test_base_image_updation_fixed.TestBaseImageUpdate) ...
> ==> client.log <==
> 2013-11-18 20:25:06,863 - DEBUG - test_04_reoccuring_snapshot_rules 
> (test_base_image_updation_fixed.TestBaseImageUpdate) - Creating recurring 
> snapshot policy fo
> r root disk on vm created with IsVolatile=True
> 2013-11-18 20:25:06,863 - DEBUG - test_04_reoccuring_snapshot_rules 
> (test_base_image_updation_fixed.TestBaseImageUpdate) - Snapshot Policy - Type 
> : HOURLY Sched
> uled Hours : 1
> 2013-11-18 20:25:06,959 - DEBUG - test_04_reoccuring_snapshot_rules 
> (test_base_image_updation_fixed.TestBaseImageUpdate) - Sleeping for 70 
> minutes till the volu
> me is snapshoted
> 2013-11-18 21:35:57,329 - DEBUG - test_04_reoccuring_snapshot_rules 
> (test_base_image_updation_fixed.TestBaseImageUpdate) - Checking whether root 
> disk of VM with
>  isVolatile=True was destroyed
> 2013-11-18 21:35:57,398 - DEBUG - test_04_reoccuring_snapshot_rules 
> (test_base_image_updation_fixed.TestBaseImageUpdate) - Checking whether 
> snapshot rule for VM
>  with isVolatile=True was destroyed                    Here we are passing 
> root disk id of vm before reboot which does not exist hence                   
> listing
>  should fail
> 
> ==> result.log <==
> ok
> 
> ----------------------------------------------------------------------
> Ran 4 tests in 4507.963s
> 
> OK (skipped=3)
> 
> 
> Thanks,
> 
> Gaurav Aradhye
> 
>

Reply via email to