Skip to content

Commit 09a5536

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Functional: assert multiple calls for update_virtual_port_host" into stable/zed
2 parents c1e0cb6 + 40c2afc commit 09a5536

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

neutron/tests/functional/plugins/ml2/drivers/ovn/mech_driver/ovsdb/test_ovsdb_monitor.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,11 @@ def test_virtual_port_host_update(self, mock_update_vip_host):
399399
n_utils.wait_until_true(lambda: mock_update_vip_host.called,
400400
timeout=10)
401401
# The virtual port is deleted and so the associated "Port_Binding".
402-
mock_update_vip_host.assert_called_once_with(vip['id'], None)
402+
# With OVN v22.03.3 sometimes 2 delete events are received with the
403+
# same arguments.
404+
# TODO(lajoskatona): check when new OVN version is out
405+
# if this behaviour is changed.
406+
mock_update_vip_host.assert_called_with(vip['id'], None)
403407

404408

405409
class TestNBDbMonitorOverTcp(TestNBDbMonitor):

0 commit comments

Comments
 (0)