commit babe698caf195be6c0f8d4a61dc967007aaedac7
Author: Jason Zhang <email address hidden>
Date: Mon Dec 10 18:04:18 2012 -0800
Fixed the unit tests using SQLite do not check foreign keys.
The foreign key constraints will be enabled for each SQLite
database connection.
By default the foreign key constraints are disabled in SQLite,
so some test cases failed after enabling the foreign key
constraints for unit tests. This fixings also fixed the failed
test cases because of the foreign key enforcement.
Reviewed: https:/ /review. openstack. org/17820 github. com/openstack/ quantum/ commit/ babe698caf195be 6c0f8d4a61dc967 007aaedac7
Committed: http://
Submitter: Jenkins
Branch: master
commit babe698caf195be 6c0f8d4a61dc967 007aaedac7
Author: Jason Zhang <email address hidden>
Date: Mon Dec 10 18:04:18 2012 -0800
Fixed the unit tests using SQLite do not check foreign keys.
The foreign key constraints will be enabled for each SQLite
database connection.
By default the foreign key constraints are disabled in SQLite,
so some test cases failed after enabling the foreign key
constraints for unit tests. This fixings also fixed the failed
test cases because of the foreign key enforcement.
Fixes: bug #1021023 5b50dfe6628116f a971c5e78cb
Change-Id: I89f0cbbd75bb68