[ovs-git] Open vSwitch: tests: Make ovsdb-server add-db/remove-db test faster and more reliable. (branch-2.0)

dev at openvswitch.org dev at openvswitch.org
Mon Sep 16 22:07:37 UTC 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, branch-2.0 has been updated
       via  32643a6a2d410099035b413924f3f824d6fbe034 (commit)
      from  1a782d9d8d1663ef88461f5d76b34924d8fc03f1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 32643a6a2d410099035b413924f3f824d6fbe034
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=32643a6a2d410099035b413924f3f824d6fbe034
Author: Ben Pfaff <blp at nicira.com>
		
tests: Make ovsdb-server add-db/remove-db test faster and more reliable.
		
Until now, the "ovsdb-server/add-db and remove-db with --monitor" test
killed ovsdb-server with SIGSEGV twice.  Each time, the "--monitor" option
caused the supervisor process to restart the child, but the second time it
incurred a 10-second delay intended to prevent the daemon from wasting CPU
time by restarting itself and dying again very quickly in a loop.  This
made the test take over 10 seconds to execute.  It also made it
occasionally fail because the OVS_WAIT_UNTIL check waits at most
approximately 10 seconds before it decides that the condition that it is
testing for will never occur.

This commit fixes the problem by breaking the test into two tests, each of
which kills ovsdb-server with SIGSEGV only once.

Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Ethan Jackson <ethan at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 tests/ovsdb-server.at |   17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list