Fix a test failure due to timing differences in different test runs.
Signed-off-by: Jarno Rajahalme <[email protected]>
---
tests/ofproto-dpif.at | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/ofproto-dpif.at b/tests/ofproto-dpif.at
index a692d90..96b166e 100644
--- a/tests/ofproto-dpif.at
+++ b/tests/ofproto-dpif.at
@@ -1642,10 +1642,10 @@ done
AT_CHECK([ovs-appctl time/warp 10000], [0], [warped
])
-AT_CHECK([ovs-appctl dpif/show], [0], [dnl
+AT_CHECK([ovs-appctl dpif/show | sed 's/ 10[[0-9]]\{3\}(ms)$/ 10000(ms)/'],
[0], [dnl
br0 (dummy@ovs-dummy):
lookups: hit:0 missed:61
- flows: cur: 0, avg: 1.000, max: 1, life span: 10001(ms)
+ flows: cur: 0, avg: 1.000, max: 1, life span: 10000(ms)
hourly avg: add rate: 0.641/min, del rate: 0.635/min
overall avg: add rate: 1.000/min, del rate: 0.984/min
br0 65534/100: (dummy)
--
1.7.10.4
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev