[ovs-dev] [PATCH] tests: Close ovsdb-server in passive tcp test.
Ben Pfaff
blp at ovn.org
Mon May 23 21:00:27 UTC 2016
On Mon, May 23, 2016 at 01:43:47PM -0700, Daniele Di Proietto wrote:
> Without the last OVSDB_SERVER_SHUTDOWN, the test hangs on travis,
> because ovsdb-server is still running.
>
> Tested-at: https://travis-ci.org/ddiproietto/ovs/builds/132343426
> Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
That's a sign that we should, additionally, have
on_exit 'kill `cat *.pid`'
or similar embedded in the test. Otherwise if some part of the test
before OVSDB_SERVER_SHUTDOWN fails, nothing will kill the database
server and the test will hang anyway.
(It looks like other tests in ovsdb-idl.at have that problem too.)
More information about the dev
mailing list