glance/glance/tests
Dan Smith f4b78606ba Make wsgi_app support graceful shutdown
This makes us wait for all running threads in the tasks_pool threadpool
before exiting. Tested with uwsgi via devstack, with a long-running
image conversion task. Indeed, uwsgi triggers a graceful shutdown, we
wait for the remaining thread, and then exit when the conversion has
completed.

Closes-Bug: #1888713
Change-Id: I0cec7771ab8ce471607825eb4721fee1c6bdd1e6
2020-07-27 09:57:22 -07:00
..
etc Remove unused "copy_from" policy rule 2020-07-15 13:01:58 -07:00
functional Make glance-api able to do async tasks in WSGI mode 2020-07-24 11:13:45 -07:00
gate Separate out configuration tests 2019-03-22 13:01:14 -04:00
integration Cleanup remove api v1 and registry code 2020-07-14 10:38:19 +00:00
unit Make wsgi_app support graceful shutdown 2020-07-27 09:57:22 -07:00
var Support importing OVA/OVF package to Glance 2016-02-24 14:35:19 -08:00
__init__.py Make glance-api able to do async tasks in WSGI mode 2020-07-24 11:13:45 -07:00
stubs.py Cleanup remove api v1 and registry code 2020-07-14 10:38:19 +00:00
test_hacking.py Hacking checks for not using dict iteration calls 2016-01-25 21:54:08 -08:00
utils.py Use unittest.mock instead of third party mock 2020-04-20 15:07:00 +00:00