diff options
Diffstat (limited to 'TAO/tests/Portable_Interceptors/AMI/client.cpp')
-rw-r--r-- | TAO/tests/Portable_Interceptors/AMI/client.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/TAO/tests/Portable_Interceptors/AMI/client.cpp b/TAO/tests/Portable_Interceptors/AMI/client.cpp index dec2ca68b50..51fe346a2c9 100644 --- a/TAO/tests/Portable_Interceptors/AMI/client.cpp +++ b/TAO/tests/Portable_Interceptors/AMI/client.cpp @@ -195,6 +195,8 @@ test_ami (CORBA::ORB_ptr orb, unsigned long initial_request_count = Echo_Client_Request_Interceptor::request_count; + unsigned long initial_reply_count = + Echo_Client_Request_Interceptor::reply_count; unsigned long initial_other_count = Echo_Client_Request_Interceptor::other_count; @@ -206,7 +208,8 @@ test_ami (CORBA::ORB_ptr orb, } unsigned long total_request_count = - Echo_Client_Request_Interceptor::request_count - initial_request_count; + Echo_Client_Request_Interceptor::request_count - + (Echo_Client_Request_Interceptor::reply_count + initial_request_count); unsigned long total_other_count = Echo_Client_Request_Interceptor::other_count - initial_other_count; @@ -221,8 +224,7 @@ test_ami (CORBA::ORB_ptr orb, } initial_request_count = - Echo_Client_Request_Interceptor::request_count; - unsigned long initial_reply_count = + Echo_Client_Request_Interceptor::request_count - Echo_Client_Request_Interceptor::reply_count; while (echo_handler_impl->replies () != ITERATIONS) |