commit f9c7e4344a49a37edbb575e0b37254a8714d1d38
Author: Devananda van der Veen <email address hidden>
Date: Fri Jun 6 12:42:00 2014 -0700
Skip migrations test_walk_versions instead of pass
When there is no db engine configured for the migration tests,
the test_walk_versions test was passing, rather than skipping,
because it contained a for-loop and no check for the length of the
sequence being iterated over.
This patch checks the length of the configured engines and
properly skips the test when there are no engines.
Reviewed: https:/ /review. openstack. org/98504 /git.openstack. org/cgit/ openstack/ ironic/ commit/ ?id=f9c7e4344a4 9a37edbb575e0b3 7254a8714d1d38
Committed: https:/
Submitter: Jenkins
Branch: master
commit f9c7e4344a49a37 edbb575e0b37254 a8714d1d38
Author: Devananda van der Veen <email address hidden>
Date: Fri Jun 6 12:42:00 2014 -0700
Skip migrations test_walk_versions instead of pass
When there is no db engine configured for the migration tests,
the test_walk_versions test was passing, rather than skipping,
because it contained a for-loop and no check for the length of the
sequence being iterated over.
This patch checks the length of the configured engines and
properly skips the test when there are no engines.
Change-Id: I8a5c0a66f65a99 c5169b251be02a8 fbe6c727641
Closes-bug: #1327397