Reviewed: https://review.opendev.org/c/openstack/neutron/+/873739 Committed: https://opendev.org/openstack/neutron/commit/595c387efb19744e1c9547b79501e4bb8a94ea0d Submitter: "Zuul (22348)" Branch: master
commit 595c387efb19744e1c9547b79501e4bb8a94ea0d Author: Rodolfo Alonso Hernandez <[email protected]> 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 ** Changed in: neutron Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/2007254 Title: [UT] "test_create_ndp_proxy_with_duplicated" fail Status in neutron: Fix Released Bug description: Logs: https://ed80b810bea8807f20d5-7fb466319126c0ae420f0e283e1354c1.ssl.cf2.rackcdn.com/873619/1/check/openstack- tox-py39/fe30f88/testr_results.html Error: https://paste.opendev.org/show/b1NJ60MNYab8AtEtVIaM/ To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/2007254/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

