Comment 1 for bug 1744195

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/126030
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=ed2b65a5ddc8536470797c39467b20e934b02dc0
Submitter: Zuul
Branch: master

commit ed2b65a5ddc8536470797c39467b20e934b02dc0
Author: David Stanek <email address hidden>
Date: Fri Oct 3 18:22:41 2014 +0000

    Force SQLite to properly deal with foreign keys

    This will help with testing since SQLite will start enforcing the
    foreign key relationships.

    We will still have a problem with migrations for tables that refer to
    each other. SQLite can't alter tables and sqlalchemy-migrates tmp table
    strategy for migrations fails in this situation.

    This patch did:
    1. Add FK support for the tests. Disable it by default.
    2. Make sure the Fk is disabled for test_sql_upgrade and
    identity.backens.test_sql

    Partial-Bug: #1744195

    Co-Authored-By: wangxiyuan<email address hidden>
    Change-Id: I276af7c0125dc2cb2c54215d54491665db1caa22