diff options
-rw-r--r-- | test/RPCSession.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/RPCSession.cpp b/test/RPCSession.cpp index a71ff286..be8774bc 100644 --- a/test/RPCSession.cpp +++ b/test/RPCSession.cpp @@ -118,7 +118,8 @@ string IPCSocket::sendRequest(string const& _req) // Also consider closed socket an error. if (ret < 0) BOOST_FAIL("Reading on IPC failed."); - } while ( + } + while ( ret == 0 && chrono::duration_cast<chrono::milliseconds>(chrono::steady_clock::now() - start).count() < m_readTimeOutMS ); |