cinder/cinder
Eric Harney b83c446e52 Tests: Make tests less random
Remove a bunch of uuid.uuid4() calls from tests, and use static UUIDs
instead.

We generally use static UUIDs to make test runs reproducible and to make
it easier to track odd failures that repeat in the gate.

Readability of tests is also improved by using meaningful names like
VOLUME_ID or SNAPSHOT_ID rather than just uuid4().

So, do more of that.

Some care has to be taken in test classes that create lots of volumes,
such as BackupBaseDriverTestCase, because random UUIDs were previously
allowing volumes used by different tests to not collide with each other.
More static IDs have been added to account for this.

Change-Id: I372d27367b730f4606bc0ea84a9b322d45d1cbbe
2020-05-08 11:22:02 -04:00
..
api Update api-ref mv history file 2020-05-01 11:50:59 -04:00
backup Merge "Change _get_volume_size_gb to _get_volume_size_bytes" 2020-04-13 18:17:39 +00:00
brick Raise hacking version to 2.0.0 2020-01-02 14:42:49 -06:00
cmd Merge "Monkey patch original current_thread _active" 2020-05-05 21:01:20 +00:00
common Leverage hw accelerator in image compression 2019-09-18 03:01:18 +00:00
compute nova: use EndpointNotFound from keystoneauth1 2019-09-03 10:58:59 -04:00
db Reserve migrations for DB backports 2020-04-28 14:31:16 -05:00
group Continue renaming volume_utils (core) 2019-09-09 20:48:26 -04:00
image Add glance image colocation feature for Virtuozzo driver 2020-04-17 13:56:02 +00:00
interface Elaborate on terminate_connection documentation 2019-12-04 09:21:15 -06:00
keymgr Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
locale Imported Translations from Zanata 2020-04-09 07:55:21 +00:00
message Add user messages for some volume snapshot actions 2019-04-26 17:02:05 -04:00
objects Cinder backup export broken 2020-02-21 21:49:22 +00:00
policies Correct description for encryption-type policies 2020-04-16 11:20:00 -04:00
privsep Enable flake8-logging-format extension 2020-01-09 14:35:20 -06:00
scheduler Merge "Add filter_function and goodness_function to pools" 2020-04-22 13:24:58 +00:00
tests Tests: Make tests less random 2020-05-08 11:22:02 -04:00
transfer Raise hacking version to 2.0.0 2020-01-02 14:42:49 -06:00
volume Merge "NetApp ONTAP NFS driver fail to flexclone glance image." 2020-05-06 19:52:26 +00:00
wsgi Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
zonemanager Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
__init__.py
context.py Preserve request id in Cinder logs when creating boot volume 2020-03-27 01:10:06 +00:00
coordination.py
exception.py Merge "Support multiple stores of Glance" 2020-01-29 00:57:33 +00:00
flow_utils.py
i18n.py
manager.py Merge "Publish backup capabilities to a scheduler" 2020-01-14 19:50:21 +00:00
opts.py Merge "HPE 3PAR: Support duplicated FQDN in network" 2020-04-22 11:33:13 +00:00
policy.py Resolve deprecation of encryption policy target 2020-04-16 10:59:18 -04:00
quota.py Bump hacking version to 1.1.x 2019-05-30 15:06:02 -04:00
quota_utils.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
rpc.py Replace assert to raise AssertionError 2019-06-05 18:41:21 +03:00
service.py Fix typo on service cluster change method 2020-05-06 19:36:07 -05:00
service_auth.py Add service_token for cinder-nova interaction 2017-12-15 12:04:23 +05:30
ssh_utils.py Stop a connections leak when freeing an SSHPool 2018-02-14 18:16:55 -06:00
utils.py Fix "is"/"is not" with a literal usage 2019-11-08 09:39:39 -05:00
version.py