[ovs-dev] [PATCH 2/3] testsuite: Add timeout to add_of_br() command.

Ilya Maximets i.maximets at samsung.com
Fri Feb 26 11:57:40 UTC 2016


Fixes hang of testsuite on ovs-vswitchd failure.

Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
---
 tests/ofproto-macros.at | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/ofproto-macros.at b/tests/ofproto-macros.at
index a88bc8f..8a664de 100644
--- a/tests/ofproto-macros.at
+++ b/tests/ofproto-macros.at
@@ -334,6 +334,7 @@ add_of_br () {
     local dpid=fedcba987654321$brnum
     local mac=aa:55:aa:55:00:0$brnum
     ovs-vsctl \
+        --timeout=20 \
         -- add-br $br \
 	-- set bridge $br datapath-type=dummy \
 			  fail-mode=secure \
-- 
2.5.0




More information about the dev mailing list