From 131aa190c3a406167519ba5d5c8c59e0f37b3894 Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Fri, 13 Jul 2012 18:15:31 +0000 Subject: [PATCH] increased ipc test timeout, mac os x 10.8 seems slow to open tcp sockets. --- src/test/integtests/CIpcTests.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/integtests/CIpcTests.cpp b/src/test/integtests/CIpcTests.cpp index e634283b..c3d5eaef 100644 --- a/src/test/integtests/CIpcTests.cpp +++ b/src/test/integtests/CIpcTests.cpp @@ -85,7 +85,7 @@ TEST_F(CIpcTests, connectToServer) CIpcClient client(TEST_IPC_PORT); client.connect(); - initQuitTimeout(2); + initQuitTimeout(5); m_events.loop(); m_events.removeHandler(CIpcServer::getMessageReceivedEvent(), &server); cleanupQuitTimeout(); @@ -114,7 +114,7 @@ TEST_F(CIpcTests, sendMessageToServer) client.connect(); m_sendMessageToServer_client = &client; - initQuitTimeout(2); + initQuitTimeout(5); m_events.loop(); m_events.removeHandler(CIpcServer::getClientConnectedEvent(), &server); m_events.removeHandler(CIpcServer::getMessageReceivedEvent(), &server); @@ -143,7 +143,7 @@ TEST_F(CIpcTests, sendMessageToClient) new TMethodEventJob( this, &CIpcTests::sendMessageToClient_handleMessageReceived)); - initQuitTimeout(2); + initQuitTimeout(5); m_events.loop(); m_events.removeHandler(CIpcServer::getClientConnectedEvent(), &server); m_events.removeHandler(CIpcClient::getMessageReceivedEvent(), &client);