From 3b401f9baf4c0dd9e9eebb0a9f4417fdf3a80774 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 27 Feb 2014 11:18:31 -0800 Subject: [PATCH] tests: Re-fix a race. Patch bf06c4fe (tests/ofproto-dpif.at: Workaround a race.), fixed a race condition which patch 0a8763f (ofproto-dpif-upcall: Hardcode max_idle to 1500ms.) unfixed. Signed-off-by: Ethan Jackson Reported-by: YAMAMOTO Takashi Signed-off-by: Ben Pfaff --- tests/ofproto-dpif.at | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/ofproto-dpif.at b/tests/ofproto-dpif.at index 8e21d11f7..095c25875 100644 --- a/tests/ofproto-dpif.at +++ b/tests/ofproto-dpif.at @@ -3098,10 +3098,16 @@ AT_CHECK([ovs-ofctl add-flow br1 actions=LOCAL,output:1,output:3]) for i in $(seq 1 10); do ovs-appctl netdev-dummy/receive br0 'in_port(100),eth(src=50:54:00:00:00:05,dst=50:54:00:00:00:07),eth_type(0x0800),ipv4(src=192.168.0.1,dst=192.168.0.2,proto=1,tos=0,ttl=64,frag=no),icmp(type=8,code=0)' + if [[ $i -eq 1 ]]; then + sleep 1 + fi done for i in $(seq 1 5); do ovs-appctl netdev-dummy/receive br1 'in_port(101),eth(src=50:54:00:00:00:07,dst=50:54:00:00:00:05),eth_type(0x0800),ipv4(src=192.168.0.2,dst=192.168.0.1,proto=1,tos=0,ttl=64,frag=no),icmp(type=8,code=0)' + if [[ $i -eq 1 ]]; then + sleep 1 + fi done AT_CHECK([ovs-appctl time/warp 500], [0], -- 2.47.0