← Back to team overview

openstack team mailing list archive

speed up unittest in Nova

 

Hi,

May not be the proper time to throw this out, but ...

Last few weeks I spend some time to speed up unittest in Nova.
Made some progress but need your help to improve.
Currently with the speed up, it takes 197 seconds for the whole unittest,
ideally it will take about 60 seconds.
Because there are some test cases that are not re-entrant for parellelized testing
that could be divide and conquered.

The idea behind these changes is to use bug-fixed multiprocess(a nose plugin)
for parrellelized testing.

Here are the changes:
https://review.openstack.org/5137
https://review.openstack.org/5138
https://review.openstack.org/5139


Paste shows the speed up(Test host is a virtual machine with 8 cpus):
original:
http://paste.openstack.org/show/7724/
boosted:
http://paste.openstack.org/show/7725/

Best Regards
Hengqing Hu


Follow ups