cinder/cinder/tests/unit/objects
Rodrigo Barbieri 8ebeafcbba Fix cross-project incremental backups
This patch addresses the scenario where an
incremental backup can be created having a
parent backup that was taken in a different
project. This scenario ultimately leads to
a silent error when creating/deleting the
incremental backup and quotas going out of
sync.

The proposed fix is to narrow the backup search
down to the same project. To achieve this, a
method's signature had to be updated to achieve
the desired optimized behavior of passing the
volume's project_id parameter.

Closes-bug: #1869746
Closes-bug: #1873518

Change-Id: Icb621ff5966133f59d9d43ca2dd9f8e1919b1149
2020-05-21 09:38:25 -03:00
..
__init__.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_backup.py Fix cross-project incremental backups 2020-05-21 09:38:25 -03:00
test_base.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_cgsnapshot.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_cleanable.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_cleanup_request.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_cluster.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_consistencygroup.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_fields.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_group.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_group_snapshot.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_group_type.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_manageable_volumes_snapshots.py Switch ManageableSnaphots & ManageableVolumes list to OVO 2017-01-25 00:41:30 +00:00
test_objects.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_qos.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_service.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_snapshot.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_volume.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_volume_attachment.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_volume_type.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00