← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1850735] [NEW] time.sleep(10) in server group func tests

 

Public bug reported:

In the server group functional tests in
nova/tests/functional/test_server_group.py there are several places
where time.sleep(10) is called in order to make sure a stopped compute
service is considered "down" by the nova compute API.

Instead of sleeping, we can set the service as "forced_down" to get the
desired "down" compute service status and avoid unnecessary delays in
these tests.

** Affects: nova
     Importance: Undecided
     Assignee: melanie witt (melwitt)
         Status: In Progress


** Tags: testing

-- 
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/1850735

Title:
  time.sleep(10) in server group func tests

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  In the server group functional tests in
  nova/tests/functional/test_server_group.py there are several places
  where time.sleep(10) is called in order to make sure a stopped compute
  service is considered "down" by the nova compute API.

  Instead of sleeping, we can set the service as "forced_down" to get
  the desired "down" compute service status and avoid unnecessary delays
  in these tests.

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


Follow ups