summaryrefslogtreecommitdiff
path: root/tests/Conn_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Conn_Test.cpp')
-rw-r--r--tests/Conn_Test.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/tests/Conn_Test.cpp b/tests/Conn_Test.cpp
index 678155b666a..79c48c3ac1e 100644
--- a/tests/Conn_Test.cpp
+++ b/tests/Conn_Test.cpp
@@ -40,16 +40,8 @@ USELIB("..\ace\aced.lib");
#endif /* defined(__BORLANDC__) && __BORLANDC__ >= 0x0530 */
// Default number of clients/servers.
-#if defined (ACE_HAS_PHARLAP)
-// PharLap is, by default, resource contrained. Test for something that works
-// on the default configuration.
-static int n_servers = 2;
-static int n_clients = 4;
-#else
static int n_servers = 4;
static int n_clients = 10;
-#endif /* ACE_HAS_PHARLAP */
-
static int n_client_iterations = 2;
Svc_Handler::Svc_Handler (ACE_Thread_Manager *)
@@ -466,7 +458,7 @@ server (void *arg)
if (result == -1)
{
- // svc_handler->close (); The ACE_Onsehot_Acceptor closed it.
+ svc_handler->close ();
if (errno == ETIMEDOUT)
{