Also I really should not feel the need to install a DB on my box to run a unit-test suite. None, but the DB API tests should have the need to perform any database operations and validations. It slows down the overall execution. Such things should be replaced with test doubles.
Thanks, Rohit -----Original Message----- From: openstack-bounces+rohit.karajgi=vertex.co...@lists.launchpad.net [mailto:openstack-bounces+rohit.karajgi=vertex.co...@lists.launchpad.net] On Behalf Of Kevin L. Mitchell Sent: Monday, November 21, 2011 10:47 PM To: openstack@lists.launchpad.net Subject: Re: [Openstack] [nova-testing] Efforts for Essex On Mon, 2011-11-21 at 13:24 +0100, Soren Hansen wrote: > = Speed up the test suite = +1; it can take about 6 minutes for the full suite to run on my dev box, which can definitely slow me down. > = Review of existing tests = > = Test coverage = One other consideration: We have some sort of memory leaking going on. I fixed one issue, but it was clearly a small issue, as the overall memory usage did not change. By the end of the test suite, up to 45% of my 1 Gig system memory can be in use by the test run. This actually inhibited the crypto tests because they try to start an external process, which failed due to memory allocation. I corrected this by adding some swap, but this isn't the first time I've had this issue: the problem's getting worse as the test suite gets larger. My observations suggest that a big chunk of the memory used is being allocated in ServersTest (and presumably others like it), but there are clearly other contributors; unfortunately, I haven't been able to determine what precisely is allocating all this memory and not releasing it... -- Kevin L. Mitchell <kevin.mitch...@rackspace.com> _______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp _______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp