Hi team,

We've talked about how important it is to spend significant E-4
resources improving the testing + stability of the existing system.

One way we are tackling this is Debo's excercise.sh script, which is a
great start on the system/integration test side of things.  We'll be
looking to discuss next steps there during the meeting.

Another angle is improving unit tests.  Unit tests are attractive as
the feedback loop the developer potentially breaking the code is
extremely tight.  Due to the issues we've been seeing lately with
churn in Nova's Quantum Manager, I declared war on bad code coverage
in Quantum Manager.  Here's the result of the first effort up for
review:  https://review.openstack.org/3858

Based on my reading of the code coverage output, this patch improves
the code coverage significantly:

quantum.manager.py : 56% -> 84%
quantum.nova_ipam_lib.py 76% -> 90%
quantum.quantum_connection.py -> 29% -> 96%

This is a good start, but this work does not yet touch on Melange.  We
will likely need to follow a similar approach as the above patch and
create a "fake_client" for Melange to really give us the coverage we
need there.  Would be great if someone could volunteer for this task.

Dan



-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dan Wendlandt
Nicira Networks: www.nicira.com
twitter: danwendlandt
~~~~~~~~~~~~~~~~~~~~~~~~~~~

-- 
Mailing list: https://launchpad.net/~netstack
Post to     : netstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~netstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to