fix(tests): another attempt at fixing the flaky testSendFile*()

This commit is contained in:
Günter Obiltschnig
2025-02-08 18:04:36 +01:00
parent db88e0ec00
commit 47a77751fb
2 changed files with 6 additions and 0 deletions

View File

@@ -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);