← Back to team overview

yahoo-eng-team team mailing list archive

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

 

*** This bug is a duplicate of bug 1783565 ***
    https://bugs.launchpad.net/bugs/1783565

** This bug has been marked a duplicate of bug 1783565
   ServerGroupTestV21.test_evacuate_with_anti_affinity_no_valid_host intermittently fails with "Instance compute service state on host2 expected to be down, but it was up."

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


References