diff options
| author | David Ripton <dripton@redhat.com> | 2013-03-25 10:30:06 -0400 |
|---|---|---|
| committer | David Ripton <dripton@redhat.com> | 2013-03-25 10:53:22 -0400 |
| commit | c07ec51dba9b1b3a3b45d6b73dd0cac736d633b8 (patch) | |
| tree | 2948c7479ebf56f124012c3b078361293cb024a8 /nova/openstack | |
| parent | 5df18f6b915cf49ac8559274a631f1366eab00fd (diff) | |
| download | nova-c07ec51dba9b1b3a3b45d6b73dd0cac736d633b8.tar.gz nova-c07ec51dba9b1b3a3b45d6b73dd0cac736d633b8.tar.xz nova-c07ec51dba9b1b3a3b45d6b73dd0cac736d633b8.zip | |
Do not test foreign keys with SQLite version < 3.7
Fixes bug 1158828
Even though SQLAlchemy is documented to support foreign keys (with
the pragma set) on SQLite >= 3.6.19, we're seeing consistent problems
with that support on RHEL 6.4 with SQLite 3.6.20. It works fine on
Fedora and Ubuntu with SQLite 3.7.x.
To work around these problems, if we're using SQLite, test the SQLite
version inside the test that requires foreign key support,
and skip the test if it's < 3.7
Change-Id: I1c26f29371376b271a4e384ea7b5d2009651acc1
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
