glance/glance/tests/functional
Dan Smith e87d3fbbe5 Add housekeeping module and staging cleaner
As noted in previous discussions, glance should clean its staging
directory on startup. This is important for scenarios where we
started an import operation, but failed in the middle. If, when we
recover, the image has already been deleted from the database, then
we will never remove the (potentially very large) residue from disk
in our staging directory.

This is currently a problem with web-download, but will also occur
with glance-direct once we have the non-shared distributed import
functionality merged.

Conflicts:
	glance/tests/unit/common/test_wsgi_app.py: Does not exist

Closes-Bug: #1913625
Change-Id: Ib80e9cfb58680f9e8ead5993dc206f4da882dd09
(cherry picked from commit 232177e68c)
(cherry picked from commit 9467994136)
2021-07-30 09:14:52 +00:00
..
db Handle atomic image properties separately 2020-09-03 08:00:35 -07:00
serial Allow glance tests to run on Windows 2019-03-13 16:41:11 +02:00
v2 Make functional tests set node_staging_uri 2021-04-09 02:21:55 +02:00
__init__.py Make functional tests set node_staging_uri 2021-04-09 02:21:55 +02:00
ft_utils.py Poll for final state on test_copy_image_revert_lifecycle() 2020-08-26 06:47:27 -07:00
store_utils.py Fix and enable remaining v1 tests on py35. 2017-03-22 23:02:16 +00:00
test_api.py Set API version 2.9 CURRENT 2019-10-01 17:45:26 +00:00
test_cache_middleware.py Allow glance tests to run on Windows 2019-03-13 16:41:11 +02:00
test_client_exceptions.py Fix broken glance-cache-manage utility 2020-07-23 20:35:29 +00:00
test_client_redirects.py Fix broken glance-cache-manage utility 2020-07-23 20:35:29 +00:00
test_cors_middleware.py Remove Images API v1 entry points 2018-07-13 10:21:49 +01:00
test_glance_manage.py Convert to string before using assertIn 2018-06-04 16:34:29 -04:00
test_gzip_middleware.py Fix assertEqual arguments order 2014-09-19 00:25:18 +08:00
test_healthcheck_middleware.py Python3: fix logs/glance.tests.functional.test_healthcheck_middleware 2016-12-01 17:43:22 +01:00
test_logging.py Remove registry related functional and unit tests 2019-12-18 09:23:37 +00:00
test_reload.py Remove usages of SSL related config options in utils 2020-03-17 22:38:09 -07:00
test_sqlite.py Allow glance tests to run on Windows 2019-03-13 16:41:11 +02:00
test_wsgi.py Add housekeeping module and staging cleaner 2021-07-30 09:14:52 +00:00