Comment 16 for bug 1568414

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

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

commit cf9713f3a4ec583c2035f7b7595ba96a0b1edcde
Author: Diana Clarke <email address hidden>
Date: Mon May 2 17:42:50 2016 -0400

    Fix database poison warnings, part 8

    The following warning appears in the unit test logs a number of times.
    This patch fixes the warnings in virt.libvirt.test_driver that come from
    driver._get_connection() calls, but there are still a bunch more
    warnings in that file.

        "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."

    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: Icacce09f8a83cb4c73d5b6caf5cd31b55032c847
    Related-Bug: #1568414