cinder/cinder/tests/unit/db
Gorka Eguileor cea54bb544
Ignore migration 127 error on MariaDB
Older MariaDB, and InnoDB with 4K page sizes [1], don't support a text fields
to have more than 767 bytes, which means that we cannot extend the quota_usage
_resource to 300 characters on migration 127.

Since this migration is to cover a corner case, we ignore the exception
during the migration if we are on a MySQL DB engine.

[1]: https://mariadb.com/kb/en/library/innodb-limitations/#page-sizes

Closes-Bug: #1808598
Change-Id: Id990b98f0ac7aaedf48a77ebee2b083fcbdaaee7
2018-12-19 16:14:59 -06:00
..
__init__.py Files with no code must be left completely empty 2016-09-28 16:29:30 +07:00
test_cluster.py Move service and cluster creation in test to utils 2017-01-19 10:42:23 +01:00
test_migrations.py Ignore migration 127 error on MariaDB 2018-12-19 16:14:59 -06:00
test_name_id.py DB: Optimize volume_update method 2016-11-08 12:31:06 +01:00
test_purge.py Allow purging of records less than 1 day old 2017-11-28 17:47:24 +00:00
test_qos_specs.py Add enough notification for QoS 2018-01-18 14:04:29 +08:00
test_reset_backend.py Add support for promoting a failed over backend 2018-05-09 12:19:33 -04:00
test_transfers.py Transfer snapshots with volumes 2018-07-19 09:42:43 +08:00
test_volume_type.py Trivial fix PEP 8 coding style violation and typo 2017-05-03 19:47:22 +07:00