increased ipc test timeout, mac os x 10.8 seems slow to open tcp sockets.
This commit is contained in:
parent
764d63a5d5
commit
131aa190c3
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue