openstack team mailing list archive
Mailing list archive
speed up unittest in Nova
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
that could be divide and conquered.
The idea behind these changes is to use bug-fixed multiprocess(a nose
for parrellelized testing.
Here are the changes:
Paste shows the speed up(Test host is a virtual machine with 8 cpus):