increased ipc test timeout, mac os x 10.8 seems slow to open tcp sockets.

This commit is contained in:
Nick Bolton 2012-07-13 18:15:31 +00:00
parent 764d63a5d5
commit 131aa190c3
1 changed files with 3 additions and 3 deletions

View File

@ -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<CIpcTests>(
this, &CIpcTests::sendMessageToClient_handleMessageReceived));
initQuitTimeout(2);
initQuitTimeout(5);
m_events.loop();
m_events.removeHandler(CIpcServer::getClientConnectedEvent(), &server);
m_events.removeHandler(CIpcClient::getMessageReceivedEvent(), &client);