Allow longer barrier timeout in caps test
diff --git a/src/python/oftest/testutils.py b/src/python/oftest/testutils.py
index 8b0b3b6..e7c09e1 100644
--- a/src/python/oftest/testutils.py
+++ b/src/python/oftest/testutils.py
@@ -234,13 +234,13 @@
return pkt
-def do_barrier(ctrl):
+def do_barrier(ctrl, timeout=-1):
"""
Do a barrier command
Return 0 on success, -1 on error
"""
b = message.barrier_request()
- (resp, pkt) = ctrl.transact(b)
+ (resp, pkt) = ctrl.transact(b, timeout=timeout)
# We'll trust the transaction processing in the controller that xid matched
if not resp:
return -1