[ovs-dev] [PATCH 2/2] tests: Fix typo in ovsdb-server test.

Ben Pfaff blp at nicira.com
Fri Apr 4 20:54:10 UTC 2014


25 kB is about 25000 bytes, not 2500.

Signed-off-by: Ben Pfaff <blp at nicira.com>
---
 tests/ovsdb-server.at | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/ovsdb-server.at b/tests/ovsdb-server.at
index 057e74d..765d646 100644
--- a/tests/ovsdb-server.at
+++ b/tests/ovsdb-server.at
@@ -685,7 +685,7 @@ fi
 # Calculate the number of iterations we need to queue.  Each of the
 # iterations we execute, by itself, yields a monitor update of about
 # 25 kB, so fill up that much space plus a few for luck.
-n_iterations=`expr $rmem_max / 2500 + 5`
+n_iterations=`expr $rmem_max / 25000 + 5`
 echo rmem_max=$rmem_max n_iterations=$n_iterations
 
 # Calculate the exact number of monitor updates expected for $n_iterations,
-- 
1.8.5.3




More information about the dev mailing list