Comment 2 for bug 1080988

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

Reviewed: https://review.openstack.org/16151
Committed: http://github.com/openstack/quantum/commit/bf0e73f30018a423a9acc3d8e94cfa8ff299ed10
Submitter: Jenkins
Branch: master

commit bf0e73f30018a423a9acc3d8e94cfa8ff299ed10
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