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 27eee0b + 603f388 commit 4387386Copy full SHA for 4387386
neutron/tests/functional/base.py
@@ -408,8 +408,12 @@ def stop(self):
408
if self.maintenance_worker:
409
self.mech_driver.nb_synchronizer.stop()
410
self.mech_driver.sb_synchronizer.stop()
411
- self.mech_driver.nb_ovn.ovsdb_connection.stop()
412
- 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):
413
+ try:
414
+ ovn_conn.stop(timeout=10)
415
+ except Exception: # pylint:disable=bare-except
416
+ pass
417
418
def restart(self):
419
self.stop()
0 commit comments