summaryrefslogtreecommitdiff
path: root/tests/Reactor_Performance_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Reactor_Performance_Test.cpp')
-rw-r--r--tests/Reactor_Performance_Test.cpp15
1 files changed, 5 insertions, 10 deletions
diff --git a/tests/Reactor_Performance_Test.cpp b/tests/Reactor_Performance_Test.cpp
index bff9127cca0..5b66c4ba70c 100644
--- a/tests/Reactor_Performance_Test.cpp
+++ b/tests/Reactor_Performance_Test.cpp
@@ -110,13 +110,8 @@ Read_Handler::handle_input (ACE_HANDLE handle)
if (errno == EWOULDBLOCK)
return 0;
else
- {
- ACE_ERROR ((LM_ERROR, "handle_input: %p (errno: %d)\n",
- "recv", errno));
-
- // This will cause handle_close to get called.
- return -1;
- }
+ // This will cause handle_close to get called.
+ return -1;
}
else // result == 0
{
@@ -384,11 +379,11 @@ main (int argc, ASYS_TCHAR *argv[])
ASYS_TEXT ("(%t) %p\n"),
ASYS_TEXT ("thread create failed")));
- ACE_Time_Value run_limit (opt_nloops / 10);
+ ACE_Time_Value run_limit (10);
ACE_Profile_Timer timer;
timer.start ();
- const int status = ACE_Reactor::instance()->run_event_loop (run_limit);
+ ACE_Reactor::instance()->run_event_loop (run_limit);
timer.stop ();
ACE_Profile_Timer::ACE_Elapsed_Time et;
@@ -403,7 +398,7 @@ main (int argc, ASYS_TCHAR *argv[])
ACE_Thread_Manager::instance ()->wait ();
ACE_END_TEST;
- return status;
+ return 0;
}
#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)