<div dir="ltr">Hi John, Rob,<div><br></div><div>Thanks for the pointers - I used skipTest() within the specific tests I wanted to skip to get over the failing ones. Just an fyi, I'm working with my own internal quantum staging gate on an older release, so I haven't checked on the latest neutron master yet. In case I do find failures there, will attempt to fix them and/or let the community know.</div>
<div><br></div><div>Cheers!</div><div>Regards,</div><div>Vijay</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Oct 30, 2013 at 7:46 PM, Robert Collins <span dir="ltr"><<a href="mailto:robertc@robertcollins.net" target="_blank">robertc@robertcollins.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 31 October 2013 15:20, John Griffith <<a href="mailto:john.griffith@solidfire.com">john.griffith@solidfire.com</a>> wrote:<br>
<br>
> Hi Vijay,<br>
><br>
> Theoretically there should never be broken tests in master, that's<br>
> what the gates are for and if there are they should be fixed very<br>
> quickly.<br>
><br>
> Back to your question, I don't know of a way to skip from<br>
> run_tests.sh, but there is a skip decorator that can be added to tests<br>
> in the code. You can also specify specific tests to run. Using<br>
> run_tests.sh (you can also do more sophisticated things with testr or<br>
> tox directly) you could do something like:<br>
> 'run_tests.sh cinder.tests.test_volumes' or more granular:<br>
> 'run_tests.sh cinder.tests.test_volume:VolumeTestCase.test_create_delete_volume<br>
<br>
</div>For any project that has switched to testr, it should be simple - pass<br>
-- <some regex> in.<br>
<br>
e.g. run_tests.sh -- (?!testnametoskip)<br>
<br>
Cheers,<br>
Rob<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Robert Collins <<a href="mailto:rbtcollins@hp.com">rbtcollins@hp.com</a>><br>
Distinguished Technologist<br>
HP Converged Cloud<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br></div>