Comment 4 for bug 1080988

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to quantum (stable/folsom)

Reviewed: https://review.openstack.org/16610
Committed: http://github.com/openstack/quantum/commit/3179dfc5805d5488483422a7483443f71fedcc44
Submitter: Jenkins
Branch: stable/folsom

commit 3179dfc5805d5488483422a7483443f71fedcc44
Author: Iryoung Jeong <email address hidden>
Date: Thu Nov 15 15:23:12 2012 +0900

    Updates clear_db() to unregister models and close session.

    fixes bug 1080988

    This change fixes the bug by ensuring the metadata and session objects
    are properly cleaned up by clear_db(). Using the proper calls reduces
    the memory required by unit tests.

    Change-Id: I1d1802b642eff83b7f96211608195afaf68e855a