glance/glance
Brian Rosmaita b2179479db Add time-bounded wait-for-status to func tests
Replace strategy of time.sleep(s_value) waiting for an image to
reach 'active' with a time-bounded wait-for-status loop function.
That way we can have a more generous s_value, which seems to
sometimes be needed in the gates, without having to use that much
time on every run.

I picked the initial s_value as 4x what was in the current code,
though given that some of the other gate tests run >1 hour, we could
easily make it 600 sec without lengthening the current minimum
time-to-verification of a patch.

Closes-bug: #1767142
Change-Id: Ib771079348d22212c7b6d90fa89e7fd4161422d3
2018-05-03 15:28:01 +00:00
..
api Update image schema with Image API 2.6 statuses 2018-04-07 14:25:26 -04:00
async Fix web-download fails with default node_staging_uri 2018-04-03 13:50:22 +00:00
cmd Pending-delete rollback ability 2018-04-19 11:03:59 +08:00
common Remove all usage of keystoneclient 2018-04-09 17:45:10 -05:00
db Pending-delete rollback ability 2018-04-19 11:03:59 +08:00
domain Pending-delete rollback ability 2018-04-19 11:03:59 +08:00
hacking Make i18n log translation functions as no-op 2017-06-21 16:14:15 +07:00
image_cache Handle file delete races in image cache 2017-07-10 11:37:55 -05:00
locale Imported Translations from Zanata 2018-03-31 07:19:20 +00:00
quota Add __ne__ built-in function 2016-07-13 15:33:39 +08:00
registry Deprecate Registry and it's config opts 2017-10-13 16:09:06 +01:00
tests Add time-bounded wait-for-status to func tests 2018-05-03 15:28:01 +00:00
__init__.py Empty files shouldn't contain copyright nor license 2013-12-24 22:39:05 -06:00
context.py Use new oslo.context arg names 2017-11-27 10:20:10 -06:00
gateway.py Fix for Image members not generating notifications 2016-01-25 04:50:58 -08:00
i18n.py Make i18n log translation functions as no-op 2017-06-21 16:14:15 +07:00
location.py Cleaning image data when image signature verification fails 2018-04-18 06:35:38 +00:00
notifier.py Implement and Enable Community Images 2017-01-18 17:56:12 +00:00
opts.py Fix config group not found error 2018-02-18 14:18:29 -05:00
schema.py Import i18n functions directly 2015-12-07 18:20:43 +03:00
scrubber.py Pending-delete rollback ability 2018-04-19 11:03:59 +08:00
version.py Remove vim header 2014-01-14 16:03:28 +00:00