diff --git a/test/Integration.cpp b/test/Integration.cpp index 110d4d97..e4e84c40 100644 --- a/test/Integration.cpp +++ b/test/Integration.cpp @@ -72,7 +72,13 @@ public: FlushIfCan(m_device); } void Close() { - m_device->close(); +#ifdef __CYGWIN__ +#ifdef __x86_64__ + // Qt on cygwin64 silently doesn't send the rest of buffer from socket without this line + sleep(1); +#endif +#endif + m_device->disconnectFromHost(); } private: