diff options
author | Sean Dague <sdague@linux.vnet.ibm.com> | 2013-01-19 14:33:04 -0500 |
---|---|---|
committer | Sean Dague <sdague@linux.vnet.ibm.com> | 2013-01-21 18:03:38 -0500 |
commit | 65b3b443503f993a8001e761b0768fe05c99bf68 (patch) | |
tree | cdd630a894e505853531803b86cb305f6e0bbd41 /nova/exception.py | |
parent | fa03b1c6ca1fcb45269fe8a6e869ed92dafae602 (diff) | |
download | nova-65b3b443503f993a8001e761b0768fe05c99bf68.tar.gz nova-65b3b443503f993a8001e761b0768fe05c99bf68.tar.xz nova-65b3b443503f993a8001e761b0768fe05c99bf68.zip |
fix mysql race in tests
because of testr, we can't assume the migrations tests run in
sequence, so they make run all at the same time. This is fine for
our in memory sqlite db, but when talking to a real external
database, not so good.
Since a second mysql test was added, we started racing on these
migrations them often hitting at the same time causing random fails
in gate.
Fix this by moving all the mysql tests into 1 test function, so we
won't race.
Fixes bug #1101874
Change-Id: I7627f3bd510266c99af018d355f960b352573759
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions