Even without explicit ovsdb-client/block, the client might not run fast enough and some of updates might be combined.
Signed-off-by: YAMAMOTO Takashi <yamam...@valinux.co.jp> --- tests/ovsdb-server.at | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/ovsdb-server.at b/tests/ovsdb-server.at index 7f83ffa..4421f34 100644 --- a/tests/ovsdb-server.at +++ b/tests/ovsdb-server.at @@ -767,9 +767,11 @@ OVS_WAIT_WHILE([test -e ovsdb-client.pid]) # The ovsdb-client output should have exactly $n_updates updates. # # Also check that the counter is what we expect. +# Note: Even without explicit ovsdb-client/block, the client might not +# run fast enough and some of updates might be combined. logged_updates=`grep -c '^Open_vSwitch' ovsdb-client.out` -echo "logged_updates=$logged_updates (expected $n_updates)" -AT_CHECK([test $logged_updates -eq $n_updates]) +echo "logged_updates=$logged_updates (expected <= $n_updates)" +AT_CHECK([test ! $logged_updates -gt $n_updates]) AT_CHECK_UNQUOTED([ovs-vsctl get open_vswitch . system_version], [0], ["xyzzy$counter" ]) -- 1.8.3.1 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev