cloudstack-dev mailing list archives

Re: Review Request 24298: CLOUDSTACK-6873: Moved test cases that run only on simulator and those should be run serially to misc folder and also tagged them with required_hardware='simulator only'

Date

Tue, 05 Aug 2014 15:13:06 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/24298/
-----------------------------------------------------------
(Updated Aug. 5, 2014, 8:43 p.m.)
Review request for cloudstack and Santhosh Edukulla.
Changes
-------
As per discussion with Alex, we will be using a new attribute simulator_only for defining
the tests which should be run only on simulator, rather than reusing the required_hardware
attribute as it makes the nosetests command very ugly and difficult to select the test cases..
I will update the wiki for this.
Bugs: CLOUDSTACK-6873
https://issues.apache.org/jira/browse/CLOUDSTACK-6873
Repository: cloudstack-git
Description
-------
The tests in test suites test_deploy_vm.py and test_vm_ha.py need to be run serially, hence
moved them to misc folder.
Also tagged the tests as "required_hardware='simulator only'" which require to be run only
on simulator.
Moved the normal tests (for which above criteria don't apply) from test_deploy_vm.py to test_vm_life_cycle.py
in smoke folder.
Diffs (updated)
-----
test/integration/smoke/misc/__init__.py PRE-CREATION
test/integration/smoke/misc/test_deploy_vm.py PRE-CREATION
test/integration/smoke/misc/test_vm_ha.py PRE-CREATION
test/integration/smoke/test_deploy_vm.py 29cdb96
test/integration/smoke/test_vm_ha.py c7d1648
test/integration/smoke/test_vm_life_cycle.py 1386830
Diff: https://reviews.apache.org/r/24298/diff/
Testing
-------
Yes, tested test_vm_life_cycle.py with python command.
Thanks,
Gaurav Aradhye