Skip to content

Commit

Permalink
wait time fixes to make testsuite complete successfully on WEC2013
Browse files Browse the repository at this point in the history
  • Loading branch information
obiltschnig committed Sep 16, 2014
1 parent 82e00a3 commit ee25a49
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Net/testsuite/src/TCPServerTest.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit ee25a49

Please sign in to comment.