commit 9b94302d7b695dc25237a02e6c50ad1496b7c579
Author: Ivan Kolodyazhny <email address hidden>
Date: Wed Oct 29 15:52:54 2014 +0200
DB migration tests
Refactored migration tests to use OpportunisticTestCase, removed
unused code and ``test_migrations.conf`` file.
The main feature of this approach is to create a new database with
random name for each migration test. This will avoid migration tests of
race conditions and reduce tests intersection. After this change, database
``openstack_citest`` will be used only for initial connection to the database.
``test_migrations.conf`` file not required anymore, because we create test
database for migration test, so we no longer need to keep database credentials.
Reviewed: https:/ /review. openstack. org/132201 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=9b94302d7b6 95dc25237a02e6c 50ad1496b7c579
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9b94302d7b695dc 25237a02e6c50ad 1496b7c579
Author: Ivan Kolodyazhny <email address hidden>
Date: Wed Oct 29 15:52:54 2014 +0200
DB migration tests
Refactored migration tests to use OpportunisticTe stCase, removed migrations. conf`` file.
unused code and ``test_
The main feature of this approach is to create a new database with _citest` ` will be used only for initial connection to the database.
random name for each migration test. This will avoid migration tests of
race conditions and reduce tests intersection. After this change, database
``openstack
``test_ migrations. conf`` file not required anymore, because we create test
database for migration test, so we no longer need to keep database credentials.
Implements blueprint: db-migration-tests 6b636947c86773a 23724e24c65
Related-bug: #1266595
Change-Id: I4febd485ff5393