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
Team and repository tags
os-vif
A library for plugging and unplugging virtual interfaces in OpenStack.
- License: Apache License, Version 2.0
- Documentation: https://docs.openstack.org/os-vif/latest/
- Source: https://opendev.org/openstack/os-vif
- Bugs: https://bugs.launchpad.net/os-vif
- Release Notes: https://docs.openstack.org/releasenotes/os-vif
Description
Languages
Python
100%