Comment 39 for bug 1568414

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to nova (master)

Reviewed: https://review.openstack.org/375899
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=e71f706e56112594e029a44747a4263280c100c6
Submitter: Jenkins
Branch: master

commit e71f706e56112594e029a44747a4263280c100c6
Author: Diana Clarke <email address hidden>
Date: Sat Sep 24 16:21:40 2016 -0400

    Fix database poison warnings, part 18

    The following warning appears in the unit test logs a number of times.

        "UserWarning: This test uses methods that set internal oslo_db
    state, but it does not claim to use the database. This will conflict
    with the setup of tests that do use the database and cause failures
    later."

    This patch fixes all the warnings from:

        nova.tests.unit.api.openstack.compute.test_instance_actions.py

    Note that this warning is only emitted once per unit test worker, so new
    offenders will show up in the logs each time you fix a test until they
    are all gone.

    Change-Id: I4ed976cac15de31fe975b7a15496bf2f2faea40b
    Related-Bug: #1568414