Comment 9 for bug 1676656

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

Reviewed: https://review.openstack.org/450923
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=bae6555816d7b5784a09bf261958025c52df433f
Submitter: Jenkins
Branch: master

commit bae6555816d7b5784a09bf261958025c52df433f
Author: Ihar Hrachyshka <email address hidden>
Date: Tue Mar 28 01:57:51 2017 +0000

    ExtensionTestCase: register correct core plugin

    We should register the passed plugin as core only if service_type is
    False. Otherwise, the passed plugin is a service plugin, in which case
    we should register some other core plugin for the test. The easiest
    thing is to use the base db plugin for that matter.

    This fixes subproject unit tests because now the core plugin will always
    have _get_collection function that is needed by some underlying db api
    functions.

    Change-Id: Ica421831763eb2f5d25fc068287305b402227b53
    Closes-Bug: #1676656