diff options
author | Jarno Rajahalme <jarno.rajahalme@nsn.com> | 2013-03-28 15:01:18 +0200 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2013-04-01 13:30:59 -0700 |
commit | 7e844f8e5817fd71a4439e924658f882f748c5ef (patch) | |
tree | 73524e2c2715b1b7e68d6e41ac873472e0851d87 | |
parent | 7d0b0ed7bf174312a1c1bdb05a29101d400b0fa4 (diff) |
ofproto-dpif.at: Fix timing issue in show rates test.
Fix a test failure due to timing differences in different test runs.
Signed-off-by: Jarno Rajahalme <jarno.rajahalme@nsn.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
-rw-r--r-- | tests/ofproto-dpif.at | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ofproto-dpif.at b/tests/ofproto-dpif.at index ece1b6fc..d7bd49bf 100644 --- a/tests/ofproto-dpif.at +++ b/tests/ofproto-dpif.at @@ -1388,10 +1388,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) |