[openstack-dev] How to get back the helpful verbose unit test display in Nova

Daniel P. Berrange berrange at redhat.com
Wed Feb 13 12:01:53 UTC 2013


On Mon, Jan 21, 2013 at 01:42:51PM +0000, Daniel P. Berrange wrote:
> In Folsom if you ran Nova's unit tests you'd get an informative display of
> what was being run
> 
> $ ./run_tests.sh test_libvirt_vif
> 
> LibvirtVifTestCase
>     test_bridge_driver                                           OK    0.98
>     test_model_kvm                                               OK    0.02
>     test_model_novirtio                                          OK    0.02
>     test_model_qemu                                              OK    0.02
>     test_model_xen                                               OK    0.03
>     test_ovs_ethernet_driver                                     OK    0.07
>     test_ovs_virtualport_driver                                  OK    0.02
>     test_quantum_bridge_ethernet_driver                          OK    0.02
>     test_quantum_hybrid_driver                                   OK    0.02
> 
> Slowest 3 tests took 1.08 secs:
>     0.98    LibvirtVifTestCase.test_bridge_driver
>     0.07    LibvirtVifTestCase.test_ovs_ethernet_driver
>     0.03    LibvirtVifTestCase.test_model_xen
> ----------------------------------------------------------------------
> Ran 9 tests in 1.227s
> 
> OK

[snip]

> Can we get back the useful display we had before ?

I see that with latest nova, we now have a verbose output available again
and details of slowest tests :-) Thanks to those who did the work to restore
these features - it is very much appreciated !

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|



More information about the OpenStack-dev mailing list