Refactored migration tests due to use OpportunisticTestCase, removed
unused code and ``test_migrations.conf`` file.
This change allows tests use database ``openstack_citest`` only
for connection to the database backend. The main feature of this
approach is - for each migration test will be created new database
with random name. This will avoid migration tests of race conditions
and reduce tests intersection.
``test_migrations.conf`` file was removed, because we create test
database for migration test, so we no longer need test database credentials.
Reviewed: https:/ /review. openstack. org/107053 /git.openstack. org/cgit/ openstack/ ironic/ commit/ ?id=ffd83dc3af1 70608a867ed1721 a90747e67d2934
Committed: https:/
Submitter: Jenkins
Branch: master
commit ffd83dc3af17060 8a867ed1721a907 47e67d2934
Author: Victor Sergeyev <email address hidden>
Date: Tue Jul 15 12:41:34 2014 +0300
Use opportunistic approach for migration testing
Refactored migration tests due to use OpportunisticTe stCase, removed migrations. conf`` file.
unused code and ``test_
This change allows tests use database ``openstack_ citest` ` only
for connection to the database backend. The main feature of this
approach is - for each migration test will be created new database
with random name. This will avoid migration tests of race conditions
and reduce tests intersection.
``test_ migrations. conf`` file was removed, because we create test
database for migration test, so we no longer need test database credentials.
Closes-Bug: #1327397
Closes-Bug: #1328997
Change-Id: I95ad140ba5f483 cd3dc36e2b78f14 0826d57624f