os-vif/vif_plug_ovs
Sean Mooney 2df01e8845 address test stablity under load
vif_plug_ovs.tests.functional.ovsdb.test_ovsdb_lib.TestOVSDBLib.test_create_ovs_vif_port_with_default_qos(native)
can fail under load as the ovs-db requires the ovsvswitchd
to acknowlage the requested configution
before the db tansaction is complete.

currently os-vif works around this using a wait_until_true retry loop
with a hardcoded 2 second timeout. This change bumps the default timeout
to 10 seconds and make it configurable via a new env var.

OS_VIF_CHECK_PARAMETER_TIMEOUT

this should stablise the test under load such as in ci and allow the timeout
to be turned via ci jobs if requried.

note 10 seconds is already over kill so if we see instablity after this
change we likely shoudl reduce concurrency instead.

Related-Bug: #2087982
Change-Id: Icd0b69a7f3a121fbe4fe2b754c1fc1d993d2a741
2024-11-20 21:21:44 +00:00
..
ovsdb set default qos policy 2023-05-09 20:02:48 +01:00
tests address test stablity under load 2024-11-20 21:21:44 +00:00
__init__.py import openvswitch plugin implementation 2016-02-16 11:06:59 +00:00
constants.py Delete trunk bridges to avoid race with Neutron 2022-05-26 14:27:52 -05:00
exception.py hardware offload support for openvswitch 2017-06-25 09:21:16 +03:00
linux_net.py Fix typos 2021-09-21 09:33:29 +08:00
ovs.py Don't break traffic if port already exists 2023-06-08 15:52:50 +00:00
privsep.py Make tox.ini tox 4.0.0 compatible 2023-01-09 12:30:15 +01:00