summaryrefslogtreecommitdiff
path: root/tests/ofproto-macros.at
diff options
context:
space:
mode:
authorIlya Maximets <i.maximets@samsung.com>2016-02-26 14:57:40 +0300
committerBen Pfaff <blp@ovn.org>2016-02-26 16:55:08 -0800
commit7ae1f322d7794dc5c0528ef1a01154cbc58684d0 (patch)
treed59a968bfc5f316b2de423602fb186832d85938b /tests/ofproto-macros.at
parentd71c423edf5d7e9377957dddc0c72d1d0c1375b1 (diff)
downloadopenvswitch-7ae1f322d7794dc5c0528ef1a01154cbc58684d0.tar.gz
testsuite: Add timeout to add_of_br() command.
Fixes hang of testsuite on ovs-vswitchd failure. Signed-off-by: Ilya Maximets <i.maximets@samsung.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'tests/ofproto-macros.at')
-rw-r--r--tests/ofproto-macros.at2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ofproto-macros.at b/tests/ofproto-macros.at
index a88bc8f1b..1b22c4452 100644
--- a/tests/ofproto-macros.at
+++ b/tests/ofproto-macros.at
@@ -333,7 +333,7 @@ add_of_br () {
local br=br$brnum
local dpid=fedcba987654321$brnum
local mac=aa:55:aa:55:00:0$brnum
- ovs-vsctl \
+ ovs-vsctl --timeout=20 \
-- add-br $br \
-- set bridge $br datapath-type=dummy \
fail-mode=secure \