Migrations should be tested with real database backends. For this goal
intended number of base test cases which used in current implementation.
Previously there were two ways to run migration tests: using
opportunistic test cases (default way we've been using on CI) and
by using database connection strings, specified in test_migrations.conf,
for every particular database test case. For the sake of simplicity and
consistency we are moving to using of opportunistic db test cases here.
With this change we are free from locking, so we don't need `lockfile`
anymore.
Reviewed: https:/ /review. openstack. org/93424 /git.openstack. org/cgit/ openstack/ oslo.db/ commit/ ?id=c34c32e09ed 1f170dfe62c7dae df0cd60f57a833
Committed: https:/
Submitter: Jenkins
Branch: master
commit c34c32e09ed1f17 0dfe62c7daedf0c d60f57a833
Author: Ilya Pekelny <email address hidden>
Date: Tue May 13 14:44:54 2014 +0300
Opportunistic migration tests
Migrations should be tested with real database backends. For this goal .conf,
intended number of base test cases which used in current implementation.
Previously there were two ways to run migration tests: using
opportunistic test cases (default way we've been using on CI) and
by using database connection strings, specified in test_migrations
for every particular database test case. For the sake of simplicity and
consistency we are moving to using of opportunistic db test cases here.
With this change we are free from locking, so we don't need `lockfile`
anymore.
Closes-Bug: #1327397 5f429a0f6529911 e607c2c7de7
Closes-Bug: #1328997
Change-Id: I92b1dcd830c475