From: James Turner Date: Tue, 7 Jun 2016 10:23:48 +0000 (+0100) Subject: More repository test tweaks for Jenkins. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e7484ebe44463812e76b15da331ddcb44ec8962f;p=simgear.git More repository test tweaks for Jenkins. --- diff --git a/simgear/io/test_HTTP.hxx b/simgear/io/test_HTTP.hxx index 257ced06..11b25171 100644 --- a/simgear/io/test_HTTP.hxx +++ b/simgear/io/test_HTTP.hxx @@ -235,7 +235,6 @@ public: it = std::remove_if(_channels.begin(), _channels.end(), EraseIfClosed()); for (typename std::vector::iterator it2 = it; it2 != _channels.end(); ++it2) { - _poller.removeChannel(*it2); delete *it2; } diff --git a/simgear/io/test_repository.cxx b/simgear/io/test_repository.cxx index f7d5cac4..c06830fc 100644 --- a/simgear/io/test_repository.cxx +++ b/simgear/io/test_repository.cxx @@ -899,6 +899,9 @@ int main(int argc, char* argv[]) testAbandonCorruptFiles(&cl); + testServer.disconnectAll(); + cl.clearAllConnections(); + testPartialUpdateBasic(&cl); testPartialUpdateExisting(&cl); testPartialUpdateWidenWhileInProgress(&cl);