简体   繁体   English

升级到Ubuntu 9.04 Django测试速度很慢

[英]Upgraded to ubuntu 9.04 django test are now slow

Upgraded my laptop to Ubuntu 9.04 and runing latest trunk of django and my test suite has tripled in time to run. 将笔记本电脑升级到Ubuntu 9.04,并运行了django的最新主干,我的测试套件的运行时间增加了两倍。

Python2.6
Mysql
Django 1.1 beta 1 SVN-10137

Quote from the Official Jaunty IRC (#ubuntu+1 on Freenode) 官方Jaunty IRC的报价(Freenode上的#ubuntu + 1)

Jaunty is NOT RELEASED and NOT SUPPORTED. 不发行或支持Jaunty。 It will most certainly break your system. 它肯定会破坏您的系统。

You should verify that your tests are running in a transaction. 您应该验证测试是否在事务中运行。 Is MySQL using the InnoDB or MyISAM backend? MySQL是否使用InnoDB或MyISAM后端? If you were using InnoDB before and now MyISAM there is no transaction support in MyISAM. 如果您以前使用的是InnoDB,现在使用的是MyISAM,则MyISAM中没有事务支持。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM