Message ID | 1445228952-22445-19-git-send-email-yamamoto@midokura.com |
---|---|
State | Awaiting Upstream |
Headers | show |
On Mon, Oct 19, 2015 at 01:29:10PM +0900, YAMAMOTO Takashi wrote: > 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@midokura.com> Acked-by: Ben Pfaff <blp@ovn.org>
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 '
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@midokura.com> --- tests/ofproto.at | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)