commit 08201764d1500a4bff5db91228659a2c4063b808
Author: Joe Gordon <email address hidden>
Date: Fri Jun 13 14:46:37 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: I4078655f01638c22cf029f088018b8be93d6a01a
Co-Authored-By: Devananda van der Veen<email address hidden>
Closes-bug: #1327397
Reviewed: https:/ /review. openstack. org/100024 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=08201764d15 00a4bff5db91228 659a2c4063b808
Committed: https:/
Submitter: Jenkins
Branch: master
commit 08201764d1500a4 bff5db91228659a 2c4063b808
Author: Joe Gordon <email address hidden>
Date: Fri Jun 13 14:46:37 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: I4078655f01638c 22cf029f088018b 8be93d6a01a
Co-Authored-By: Devananda van der Veen<email address hidden>
Closes-bug: #1327397