ofproto-dpif.at: Fix a race in "flow stats" test
[sliver-openvswitch.git] / tests / ofproto-dpif.at
index b13b514..0dc9ff9 100644 (file)
@@ -3465,6 +3465,7 @@ for i in `seq 1 10`; do
 done
 
 ovs-appctl time/warp 1000
+sleep 1  # wait for revalidator to update stats
 
 AT_CHECK([ovs-ofctl dump-flows br0], [0], [stdout])
 AT_CHECK([STRIP_XIDS stdout | sed -n 's/duration=[[0-9]]*\.[[0-9]]*s/duration=0.0s/p' | sort], [0], [dnl