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

YAMAMOTO Takashi yamamoto at valinux.co.jp
Sun Apr 6 02:08:18 UTC 2014


> 25 kB is about 25000 bytes, not 2500.
> 
> Signed-off-by: Ben Pfaff <blp at nicira.com>

Acked-by: YAMAMOTO Takashi <yamamoto at valinux.co.jp>

> ---
>  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
> 
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev



More information about the dev mailing list