Comment 5 for bug 1821092

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

Reviewed: https://review.openstack.org/645033
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=0dfbcd74642b16432b800b51f304a89d762e3ff1
Submitter: Zuul
Branch: master

commit 0dfbcd74642b16432b800b51f304a89d762e3ff1
Author: Chris Dent <email address hidden>
Date: Wed Mar 20 22:23:27 2019 +0000

    Don't register placement opts mutiple times in a test

    The test_local_delete_removes_allocations_after_compute_restart test
    was trying to register placement config opts 3 times when only once
    is necessary, and if there are CLI opts being registered, only once is
    allowed. With change I4cd3d637878eb5bb798b78fd73f5be99e141da9d in
    placement, those opts gained some CLI opts, causing this test to
    fail.

    The depends-on is to a change in the placement-side PlacementFixture
    to make it possible to not register opts when calling the fixture,
    allowing the safe reuse of the already registered config.

    Depends-On: I360a306b5d05ada75274733038b73ec2f2bdc4d4
    Change-Id: I042e41ac8c41c0e5f0389904eb548e0e97d54c60
    Closes-Bug: #1821092