mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-14 02:57:45 +01:00
wait time fixes to make testsuite complete successfully on WEC2013
This commit is contained in:
parent
82e00a3e2b
commit
ee25a49e9b
@ -207,21 +207,21 @@ void TCPServerTest::testMultiConnections()
|
||||
assert (srv.totalConnections() == 5);
|
||||
|
||||
ss2.close();
|
||||
Thread::sleep(1000);
|
||||
Thread::sleep(2000);
|
||||
assert (srv.currentConnections() == 4);
|
||||
assert (srv.currentThreads() == 4);
|
||||
assert (srv.queuedConnections() == 0);
|
||||
assert (srv.totalConnections() == 6);
|
||||
|
||||
ss3.close();
|
||||
Thread::sleep(1000);
|
||||
Thread::sleep(2000);
|
||||
assert (srv.currentConnections() == 3);
|
||||
assert (srv.currentThreads() == 3);
|
||||
assert (srv.queuedConnections() == 0);
|
||||
assert (srv.totalConnections() == 6);
|
||||
|
||||
ss4.close();
|
||||
Thread::sleep(1000);
|
||||
Thread::sleep(2000);
|
||||
assert (srv.currentConnections() == 2);
|
||||
assert (srv.currentThreads() == 2);
|
||||
assert (srv.queuedConnections() == 0);
|
||||
|
Loading…
Reference in New Issue
Block a user