← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1767142] [NEW] functional tests need time-bounded wait-for-status

 

Public bug reported:

Seeing occasional functional test failures in the image import tests
(for example [0]).  They currently sleep to wait for the server to
complete an action [1], but sometimes the action apparently takes longer
than expected.

Would be good to introduce some kind of time-bounded wait-for-status
function instead of the sleep for these tests.

[0] http://logs.openstack.org/77/564077/4/check/openstack-tox-
functional/56d5a64/job-output.txt.gz#_2018-04-26_01_49_20_067643

[1]
https://github.com/openstack/glance/blob/8a2d1542348e8aaaee163ba629fd37c534d469d9/glance/tests/functional/v2/test_images.py#L383

** Affects: glance
     Importance: Medium
     Assignee: Brian Rosmaita (brian-rosmaita)
         Status: Triaged


** Tags: testing

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1767142

Title:
  functional tests need time-bounded wait-for-status

Status in Glance:
  Triaged

Bug description:
  Seeing occasional functional test failures in the image import tests
  (for example [0]).  They currently sleep to wait for the server to
  complete an action [1], but sometimes the action apparently takes
  longer than expected.

  Would be good to introduce some kind of time-bounded wait-for-status
  function instead of the sleep for these tests.

  [0] http://logs.openstack.org/77/564077/4/check/openstack-tox-
  functional/56d5a64/job-output.txt.gz#_2018-04-26_01_49_20_067643

  [1]
  https://github.com/openstack/glance/blob/8a2d1542348e8aaaee163ba629fd37c534d469d9/glance/tests/functional/v2/test_images.py#L383

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


Follow ups