[ovs-dev] [PATCH 19/21] ofproto.at: Workaround a race
YAMAMOTO Takashi
yamamoto at midokura.com
Mon Oct 19 04:29:10 UTC 2015
While a barrier serializes requests from the same connection,
it doesn't wait for requests from other connections to the switch.
Replace the barrier with infamous "sleep 1" to workaround the problem.
Signed-off-by: YAMAMOTO Takashi <yamamoto at midokura.com>
---
tests/ofproto.at | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tests/ofproto.at b/tests/ofproto.at
index e1cb430..c947582 100644
--- a/tests/ofproto.at
+++ b/tests/ofproto.at
@@ -2430,8 +2430,7 @@ udp,vlan_tci=0x0000,dl_src=00:26:b9:8c:b0:f9,dl_dst=00:25:83:df:b4:00,nw_src=172
fi
AT_FAIL_IF([test X"$1" != X])
- ovs-appctl -t ovs-ofctl ofctl/barrier
- echo >>expout "OFPT_BARRIER_REPLY (OF1.2):"
+ sleep 1
AT_CHECK(
[[sed '
--
2.3.8 (Apple Git-58)
More information about the dev
mailing list