mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-20 14:02:38 +02:00
fix(tests): another attempt at fixing the flaky testSendFile*()
This commit is contained in:
@@ -274,6 +274,7 @@ void SecureStreamSocketTest::testSendFile()
|
||||
istr.close();
|
||||
ss.close();
|
||||
|
||||
Poco::Thread::sleep(200);
|
||||
while (srv.currentConnections() > 0)
|
||||
{
|
||||
Poco::Thread::sleep(100);
|
||||
@@ -312,6 +313,7 @@ void SecureStreamSocketTest::testSendFileLarge()
|
||||
istr.close();
|
||||
ss.close();
|
||||
|
||||
Poco::Thread::sleep(200);
|
||||
while (srv.currentConnections() > 0)
|
||||
{
|
||||
Poco::Thread::sleep(100);
|
||||
@@ -353,6 +355,7 @@ void SecureStreamSocketTest::testSendFileRange()
|
||||
istr.close();
|
||||
ss.close();
|
||||
|
||||
Poco::Thread::sleep(200);
|
||||
while (srv.currentConnections() > 0)
|
||||
{
|
||||
Poco::Thread::sleep(100);
|
||||
|
Reference in New Issue
Block a user