[ovs-dev] [PATCH] tests: Close ovsdb-server in passive tcp test.

Daniele Di Proietto diproiettod at vmware.com
Mon May 23 20:43:47 UTC 2016


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>
---
 tests/ovsdb-idl.at | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/ovsdb-idl.at b/tests/ovsdb-idl.at
index 1369a6f..279caee 100644
--- a/tests/ovsdb-idl.at
+++ b/tests/ovsdb-idl.at
@@ -153,6 +153,7 @@ m4_define([OVSDB_CHECK_IDL_PASSIVE_TCP_PY],
       [0], [stdout], [ignore], [kill `cat pid`])
    AT_CHECK([sort stdout | ${PERL} $srcdir/uuidfilt.pl]m4_if([$6],,, [[| $6]]),
             [0], [$4], [], [kill `cat pid`])
+   OVSDB_SERVER_SHUTDOWN
    AT_CLEANUP
    ])
 
-- 
2.1.4




More information about the dev mailing list