<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On Fri, Oct 18, 2013 at 1:48 PM, Sean Dague <span dir="ltr"><<a href="mailto:sean@dague.net" target="_blank">sean@dague.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 10/18/2013 12:04 PM, Brant Knudson wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
2) "git clone"ing the keystoneclient doesn't work well with parallel<br>
testing (we have a similar problem in our tests with our "pristine"<br>
database backup)<br>
</blockquote>
<br></div>
Can you go into the specifics of why?</blockquote></div><div class="gmail_extra"><br></div>We use unsafe paths for the test SQLite database and test config files.  Instead of using something like tempfile we are using hardcoded paths.  When the setUp method is run in parallel it will stomp on other tests.  I believe the 'git clone' is the same way.  The clone happens in the setUp so if you have 2 test methods in that test class one of the cloning operations will break.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">I have a bug filed for the DB/config file issue already.  The cloning issue may solved by putting it into the setupClass instead of setUp.  I'd have to try it.<br clear="all">
<div><br></div>-- <br>David<br>blog: <a href="http://www.traceback.org" target="_blank">http://www.traceback.org</a><br>twitter: <a href="http://twitter.com/dstanek" target="_blank">http://twitter.com/dstanek</a><div>www: <a href="http://dstanek.com" target="_blank">http://dstanek.com</a></div>

</div></div>