From 5ba9004853e8f326d8a27a9ecee22e34b9a92516 Mon Sep 17 00:00:00 2001 From: James Turner Date: Tue, 7 Jun 2016 11:23:48 +0100 Subject: [PATCH] More repository test tweaks for Jenkins. --- simgear/io/test_HTTP.hxx | 1 - simgear/io/test_repository.cxx | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) 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);