On Tue, Dec 6, 2011 at 5:05 PM, Vinay Sajip <[email protected]> wrote:
> > On Dec 6, 11:29 pm, Ian Clelland <[email protected]> wrote: > > > > Without doing anything else, I installed pymysql, and made a few minimal > > modifications to use that module in the mysql backend, and fixed one > > Python3 incompatibility issue in db/backends/mysql/compiler.py. > > which was? > > > First initial test run indicates that there's still some work to do :) > > > > Ran 4429 tests in 18128.079s > > FAILED (failures=11, errors=375, skipped=114, expected failures=2, > > unexpected successes=1) > > > > (yeah, that's 18k seconds, just a bit over 5 hours, but mysql has never > > been fast on OS X; something about the way it rolls back the database > > between tests) > > I presume you've tried the advice given here: > > http://www.stereoplex.com/blog/speeding-up-django-unit-test-runs-with-mysql > > I haven't yet, but that's where I remember reading why MySQL tests are always slow on the mac. Thanks for the pointer again, though -- hopefully it speeds up testing tonight. I have had to fix a couple of bugs in pymysql, but I think I am eliminating most of the errors. Once I can plug my laptop in to run a full test suite, I'll post the results. -- Regards, Ian Clelland <[email protected]> -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.
