summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/ImplRepo
diff options
context:
space:
mode:
authorPhil Mesnier <mesnier_p@ociweb.com>2014-07-31 15:20:00 +0000
committerPhil Mesnier <mesnier_p@ociweb.com>2014-07-31 15:20:00 +0000
commitb172efc9f363c30c568929134bbb0c9c92f98bd8 (patch)
tree22f402315ccf44a3b5dd475c113ef39ed21f6c5f /TAO/orbsvcs/tests/ImplRepo
parent3fa67eb031e9d988aa818db3b911fdd83e9d90d4 (diff)
downloadATCD-b172efc9f363c30c568929134bbb0c9c92f98bd8.tar.gz
Thu Jul 31 15:17:19 UTC 2014 Phil Mesnier <mesnier_p@ociweb.com>
* orbsvcs/tests/ImplRepo/Bug_4152_Regression/client.cpp: Fix the test to accommodate the possibility that the ImR may return a reference to a dying server rather than start a duplicate.
Diffstat (limited to 'TAO/orbsvcs/tests/ImplRepo')
-rw-r--r--TAO/orbsvcs/tests/ImplRepo/Bug_4152_Regression/client.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/orbsvcs/tests/ImplRepo/Bug_4152_Regression/client.cpp b/TAO/orbsvcs/tests/ImplRepo/Bug_4152_Regression/client.cpp
index 03d7c76a827..3400c2e8568 100644
--- a/TAO/orbsvcs/tests/ImplRepo/Bug_4152_Regression/client.cpp
+++ b/TAO/orbsvcs/tests/ImplRepo/Bug_4152_Regression/client.cpp
@@ -62,8 +62,9 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
}
catch (const CORBA::Exception &ex)
{
- ex._tao_print_exception ("Client caught: ");
-#if 0
+ ACE_DEBUG ((LM_DEBUG,
+ "Client caught: %s on first attempt, retrying\n",
+ ex._name ()));
try
{
if (CORBA::is_nil (test.in()))
@@ -79,7 +80,6 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
ex._tao_print_exception ("Client second attempt: ");
}
-#endif
}
return 0;