summaryrefslogtreecommitdiff
path: root/TAO/tests/Big_AMI/client.cpp
diff options
context:
space:
mode:
authorvzykov <vzykov@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2009-06-16 07:09:44 +0000
committervzykov <vzykov@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2009-06-16 07:09:44 +0000
commitdcf9799e0071abeea3ea0a30bfb240ddb485a64d (patch)
treebf1d604df6e25471603ad267ff8242bb68aef44e /TAO/tests/Big_AMI/client.cpp
parenta18e175311fb50e0229ba0795b4aba1b369b3431 (diff)
downloadATCD-dcf9799e0071abeea3ea0a30bfb240ddb485a64d.tar.gz
ChangeLogTag: Tue Jun 16 07:06:14 UTC 2009 Vladimir Zykov <vz@prismtech.com>
Diffstat (limited to 'TAO/tests/Big_AMI/client.cpp')
-rw-r--r--TAO/tests/Big_AMI/client.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/TAO/tests/Big_AMI/client.cpp b/TAO/tests/Big_AMI/client.cpp
index 990354339ff..ac7a4292842 100644
--- a/TAO/tests/Big_AMI/client.cpp
+++ b/TAO/tests/Big_AMI/client.cpp
@@ -190,6 +190,14 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[])
payload);
}
+ // We are just sending all requests, but we shouldn't get any replies
+ // until we run the orb or do a real synchronous call, so check whether
+ // we didn't get any reply until this moment
+ if (handler.reply_count () > 0)
+ ACE_ERROR_RETURN ((LM_ERROR,
+ "ERROR: Got a reply during sending asynchronous calls\n"),
+ 1);
+
if (debug)
{
ACE_DEBUG ((LM_DEBUG,