Skip to content

Commit ad6576e

Browse files
authored
Merge pull request #46 from stackhpc/upstream/master-2025-06-09
Synchronise master with upstream
2 parents 36f0573 + 84d6dfc commit ad6576e

File tree

1 file changed

+9
-1
lines changed
  • ovn_octavia_provider/tests/functional

1 file changed

+9
-1
lines changed

ovn_octavia_provider/tests/functional/base.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
# under the License.
1515

1616
import copy
17+
import time
1718
from unittest import mock
1819

1920
from neutron.common import utils as n_utils
@@ -442,7 +443,10 @@ def _create_load_balancer_custom_lr_ls_and_validate(
442443
[ls_foo, ls]
443444

444445
self.ovn_driver.loadbalancer_create(lb_data['model'])
445-
446+
# NOTE(froyo): This sleep is configured here due to previous call
447+
# is also modifiend LB VIP port, as same way the following update
448+
# port call. For some reason this second was not propagated.
449+
time.sleep(1)
446450
name = '%s%s' % (ovn_const.LB_VIP_PORT_PREFIX,
447451
lb_data['model'].loadbalancer_id)
448452
self.driver.update_port(
@@ -503,6 +507,10 @@ def _create_load_balancer_and_validate(self, network_id, subnet_id,
503507

504508
self.ovn_driver.loadbalancer_create(lb_data['model'])
505509

510+
# NOTE(froyo): This sleep is configured here due to previous call
511+
# is also modifiend LB VIP port, as same way the following update
512+
# port call. For some reason this second was not propagated.
513+
time.sleep(1)
506514
name = '%s%s' % (ovn_const.LB_VIP_PORT_PREFIX,
507515
lb_data['model'].loadbalancer_id)
508516
self.driver.update_port(

0 commit comments

Comments
 (0)