Comment 6 for bug 2007254

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/873786
Committed: https://opendev.org/openstack/neutron/commit/0bbab95265b0a167b5c6308a35d7922783d9178e
Submitter: "Zuul (22348)"
Branch: stable/zed

commit 0bbab95265b0a167b5c6308a35d7922783d9178e
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Tue Feb 14 04:40:15 2023 +0100

    [UT] Mock the retry decorator when creating duplicated NDPProxy

    The test ``test_create_ndp_proxy_with_duplicated`` was correctly testing
    the creation of a duplicated NDPProxy object. However it was taking
    around 3 minutes because the decorator ``oslo_db_api.wrap_db_retry``
    was retrying the object creation several times. This patch mocks the
    retry decorator; now the test takes around 6 seconds.

    Closes-Bug: #2007254
    Change-Id: I2fcad691df4a7ae112e1d55fefe662016430aa5b