From a4fb9c391caabef6de9cfbd126f4fe10755ece49 Mon Sep 17 00:00:00 2001 From: Benoit Foucher Date: Fri, 15 Sep 2017 12:18:41 +0200 Subject: Fixed timeout tests to be less time sensitive The tests now use a controller to hold/activate the adapter instead of relying on a timer. Fixes ICE-8312. --- cpp/test/Ice/timeout/Client.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'cpp/test/Ice/timeout/Client.cpp') diff --git a/cpp/test/Ice/timeout/Client.cpp b/cpp/test/Ice/timeout/Client.cpp index 62ddac641b8..fb8d546bd56 100644 --- a/cpp/test/Ice/timeout/Client.cpp +++ b/cpp/test/Ice/timeout/Client.cpp @@ -19,9 +19,8 @@ using namespace Test; int run(int, char**, const Ice::CommunicatorPtr& communicator) { - TimeoutPrxPtr allTests(const Ice::CommunicatorPtr&); - TimeoutPrxPtr timeout = allTests(communicator); - timeout->shutdown(); + void allTests(const Ice::CommunicatorPtr&); + allTests(communicator); return EXIT_SUCCESS; } -- cgit v1.2.3