We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 049bf27 + ef900d6 commit 4bc77eeCopy full SHA for 4bc77ee
neutron/tests/functional/base.py
@@ -407,8 +407,12 @@ def stop(self):
407
if self.maintenance_worker:
408
self.mech_driver.nb_synchronizer.stop()
409
self.mech_driver.sb_synchronizer.stop()
410
- self.mech_driver.nb_ovn.ovsdb_connection.stop()
411
- self.mech_driver.sb_ovn.ovsdb_connection.stop()
+ for ovn_conn in (self.mech_driver.nb_ovn.ovsdb_connection,
+ self.mech_driver.sb_ovn.ovsdb_connection):
412
+ try:
413
+ ovn_conn.stop(timeout=10)
414
+ except Exception: # pylint:disable=bare-except
415
+ pass
416
417
def restart(self):
418
self.stop()
0 commit comments