From 594d8b8b3aa9f8b91b0fd111cd8d8c366068a5b0 Mon Sep 17 00:00:00 2001 From: Jakub Libosvar Date: Wed, 23 Aug 2017 14:44:16 +0000 Subject: [PATCH] functional: Fix reference to ovsdb connection Change I379448fd135a3bb2ac99709812b9f476c73923a7 replaced connection attribute of IDL to ovsdb_connection. After updating upper constraints to newer ovsdbapp version, we no longer have connection attribute. Change-Id: I6f060fff4df7323a3877f56cb1fa586a22d16670 Closes-bug: #1712594 --- neutron/tests/functional/agent/ovsdb/test_impl_idl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neutron/tests/functional/agent/ovsdb/test_impl_idl.py b/neutron/tests/functional/agent/ovsdb/test_impl_idl.py index db3bdab8c94..fe433b34917 100644 --- a/neutron/tests/functional/agent/ovsdb/test_impl_idl.py +++ b/neutron/tests/functional/agent/ovsdb/test_impl_idl.py @@ -73,5 +73,5 @@ class ImplIdlTestCase(base.BaseSudoTestCase): def test_post_commit_vswitchd_incomplete_timeout(self, *args): # Due to timing issues we may rarely hit the global timeout, which # raises RuntimeError to match the vsctl implementation - self.ovs.ovsdb.connection.timeout = 3 + self.ovs.ovsdb.ovsdb_connection.timeout = 3 self.assertRaises((exc.TimeoutException, RuntimeError), self._add_br)