Santhosh, I agree with Alex here. We should adopt this new tag if it adds
to simplicity.
Good thing is minimal change is needed.

Regards,
Gaurav


On Mon, Aug 11, 2014 at 8:27 PM, Alex Brett <alex.br...@citrix.com> wrote:

>    This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/24552/
>   Review request for cloudstack, Gaurav Aradhye and Santhosh Edukulla.
> By Alex Brett.
>  *Bugs: * CLOUDSTACK-7307
> <https://issues.apache.org/jira/browse/CLOUDSTACK-7307>
>  *Repository: * cloudstack-git
> Description
>
> See full explanation and justification of this patch on the ticket at 
> https://issues.apache.org/jira/browse/CLOUDSTACK-7307
>
> A brief summary is that a number of tests require the simulator (e.g. to 
> check the behaviour in a failure condition).
>
> The existing attempt at solving this issue involved setting the 
> required_hardware attribute to "simulator only", however
> this is not very easy to use with the nosetests runner due to limitations it 
> has around handling attributes. By adding a
> new attribute (simulator_only), we can simply add !simulator_only to an 
> attribute listing to avoid running these tests.
>
>   Testing
>
> Verified that tests are picked up when run without the new attribute, and not 
> picked up when used with !simulator_only in the nosetests -a attribute list.
>
>   Diffs
>
>    - test/integration/smoke/misc/test_deploy_vm.py (071d15d)
>    - test/integration/smoke/misc/test_vm_ha.py (601354e)
>    - test/integration/smoke/test_vm_sync.py (6d56945)
>
> View Diff <https://reviews.apache.org/r/24552/diff/>
>

Reply via email to