libvirt: som unit tests take more than 4 seconds

Bug #1366549 reported by Gary Kotton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Gary Kotton

Bug Description

Ran 786 tests in 21.128s (-0.051s)
PASSED (id=17)
Slowest Tests
Test id Runtime (s)
------------------------------------------------------------------------------------------------------- -----------
nova.tests.virt.libvirt.test_driver.LibvirtConnTestCase.test_clean_shutdown_failure 5.091
nova.tests.virt.libvirt.test_driver.LibvirtConnTestCase.test_clean_shutdown_with_retry 4.093

This is a sad waist of resources...

Tags: libvirt
Gary Kotton (garyk)
Changed in nova:
importance: Undecided → Medium
tags: added: libvirt
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/119623

Changed in nova:
assignee: nobody → Gary Kotton (garyk)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/119623
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=dab0bfc923f702849f7cd9c9b31b413a967e1cdc
Submitter: Jenkins
Branch: master

commit dab0bfc923f702849f7cd9c9b31b413a967e1cdc
Author: Gary Kotton <email address hidden>
Date: Sun Sep 7 07:56:20 2014 -0700

    libvirt: improve unit test time

    There were unit tests that were taking more than 4 seconds.

    nova.tests.virt.libvirt.test_driver.LibvirtConnTestCase.test_clean_shutdown_failure 5.091
    nova.tests.virt.libvirt.test_driver.LibvirtConnTestCase.test_clean_shutdown_with_retry 4.093

    TrivialFix

    Change-Id: I75cdb74dca69a1e31d6b974148c9590328c362e1
    Closes-bug: #1366549

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → juno-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: juno-rc1 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.