← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1280758] Re: VMware: some unit tests take longer than a second

 

** Changed in: nova
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1280758

Title:
  VMware: some unit tests take longer than a second

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  Cleaning up...
  running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
  OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
  OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
  ${PYTHON:-python} -m subunit.run discover -t ./ ./nova/tests --list 
  running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
  OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
  OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
  ${PYTHON:-python} -m subunit.run discover -t ./ ./nova/tests  --load-list /tmp/tmpuu5L9O
  running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
  OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
  OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
  ${PYTHON:-python} -m subunit.run discover -t ./ ./nova/tests  --load-list /tmp/tmpVXhq0L
  running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
  OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
  OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
  ${PYTHON:-python} -m subunit.run discover -t ./ ./nova/tests  --load-list /tmp/tmpjoXLG2
  running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
  OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
  OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
  ${PYTHON:-python} -m subunit.run discover -t ./ ./nova/tests  --load-list /tmp/tmpjYDRp7
  Ran 229 (-9) tests in 1.754s (-0.147s)
  PASSED (id=32)
  Slowest Tests
  Test id                                                                                                                   Runtime (s)
  ------------------------------------------------------------------------------------------------------------------------  -----------
  nova.tests.virt.vmwareapi.test_driver_api.VMwareAPIVCDriverTestCase.test_login_retries                                    1.021
  nova.tests.virt.vmwareapi.test_driver_api.VMwareAPIVMTestCase.test_login_retries                                          1.011
  nova.tests.virt.vmwareapi.test_driver_api.VMwareAPIConfTestCase.test_configure_without_wsdl_loc_override                  0.089
  nova.tests.virt.vmwareapi.test_configdrive.ConfigDriveTestCase.test_create_vm_with_config_drive                           0.082
  nova.tests.virt.vmwareapi.test_configdrive.ConfigDriveTestCase.test_create_vm_with_config_drive_verify_method_invocation  0.067
  nova.tests.virt.vmwareapi.test_driver_api.VMwareAPIHostTestCase.test_host_startup                                         0.059
  nova.tests.virt.vmwareapi.test_driver_api.VMwareAPIVCDriverTestCase.test_cache_dir_disk_created                           0.050
  nova.tests.virt.vmwareapi.test_driver_api.VMwareAPIVCDriverTestCase.test_finish_migration_power_off                       0.033
  nova.tests.virt.vmwareapi.test_driver_api.VMwareAPIVCDriverTestCase.test_detach_vmdk_disk_from_vm                         0.029
  nova.tests.virt.vmwareapi.test_driver_api.VMwareAPIVCDriverTestCase.test_destroy                                          0.029

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1280758/+subscriptions


References