mirror of https://github.com/debauchee/barrier.git
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);
|
CIpcClient client(TEST_IPC_PORT);
|
||||||
client.connect();
|
client.connect();
|
||||||
|
|
||||||
initQuitTimeout(2);
|
initQuitTimeout(5);
|
||||||
m_events.loop();
|
m_events.loop();
|
||||||
m_events.removeHandler(CIpcServer::getMessageReceivedEvent(), &server);
|
m_events.removeHandler(CIpcServer::getMessageReceivedEvent(), &server);
|
||||||
cleanupQuitTimeout();
|
cleanupQuitTimeout();
|
||||||
|
@ -114,7 +114,7 @@ TEST_F(CIpcTests, sendMessageToServer)
|
||||||
client.connect();
|
client.connect();
|
||||||
m_sendMessageToServer_client = &client;
|
m_sendMessageToServer_client = &client;
|
||||||
|
|
||||||
initQuitTimeout(2);
|
initQuitTimeout(5);
|
||||||
m_events.loop();
|
m_events.loop();
|
||||||
m_events.removeHandler(CIpcServer::getClientConnectedEvent(), &server);
|
m_events.removeHandler(CIpcServer::getClientConnectedEvent(), &server);
|
||||||
m_events.removeHandler(CIpcServer::getMessageReceivedEvent(), &server);
|
m_events.removeHandler(CIpcServer::getMessageReceivedEvent(), &server);
|
||||||
|
@ -143,7 +143,7 @@ TEST_F(CIpcTests, sendMessageToClient)
|
||||||
new TMethodEventJob<CIpcTests>(
|
new TMethodEventJob<CIpcTests>(
|
||||||
this, &CIpcTests::sendMessageToClient_handleMessageReceived));
|
this, &CIpcTests::sendMessageToClient_handleMessageReceived));
|
||||||
|
|
||||||
initQuitTimeout(2);
|
initQuitTimeout(5);
|
||||||
m_events.loop();
|
m_events.loop();
|
||||||
m_events.removeHandler(CIpcServer::getClientConnectedEvent(), &server);
|
m_events.removeHandler(CIpcServer::getClientConnectedEvent(), &server);
|
||||||
m_events.removeHandler(CIpcClient::getMessageReceivedEvent(), &client);
|
m_events.removeHandler(CIpcClient::getMessageReceivedEvent(), &client);
|
||||||
|
|
Loading…
Reference in New Issue