summaryrefslogtreecommitdiff
path: root/TAO/tests/RTCORBA/Profile_And_Endpoint_Selection
diff options
context:
space:
mode:
authorbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-02-10 22:50:22 +0000
committerbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-02-10 22:50:22 +0000
commit2e86ae2e9a56a4f8571dc59d077d5b31049f85bb (patch)
tree7b07f44a23e26608ea333abc0c5b3897a217cb3d /TAO/tests/RTCORBA/Profile_And_Endpoint_Selection
parentbd55f55236c57e529a14319c29f56e664d210160 (diff)
downloadATCD-2e86ae2e9a56a4f8571dc59d077d5b31049f85bb.tar.gz
ChangeLogTag:Mon Feb 10 17:12:30 2003 Balachandran Natarajan <bala@isis-server.isis.vanderbilt.edu>
Diffstat (limited to 'TAO/tests/RTCORBA/Profile_And_Endpoint_Selection')
-rw-r--r--TAO/tests/RTCORBA/Profile_And_Endpoint_Selection/client.cpp8
-rw-r--r--TAO/tests/RTCORBA/Profile_And_Endpoint_Selection/server.cpp8
2 files changed, 8 insertions, 8 deletions
diff --git a/TAO/tests/RTCORBA/Profile_And_Endpoint_Selection/client.cpp b/TAO/tests/RTCORBA/Profile_And_Endpoint_Selection/client.cpp
index 85bc57cf0cd..07621823453 100644
--- a/TAO/tests/RTCORBA/Profile_And_Endpoint_Selection/client.cpp
+++ b/TAO/tests/RTCORBA/Profile_And_Endpoint_Selection/client.cpp
@@ -396,10 +396,6 @@ Client::reset_policies (ACE_ENV_SINGLE_ARG_DECL)
int
main (int argc, char **argv)
{
- // Make sure we can support multiple priorities that are required
- // for this test.
- check_supported_priorities ();
-
ACE_DECLARE_NEW_CORBA_ENV;
ACE_TRY
@@ -415,6 +411,10 @@ main (int argc, char **argv)
orb->resolve_initial_references ("RTORB"
ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
+
+ // Make sure we can support multiple priorities that are required
+ // for this test.
+ check_supported_priorities (orb.in());
RTCORBA::RTORB_var rt_orb =
RTCORBA::RTORB::_narrow (object.in ()
diff --git a/TAO/tests/RTCORBA/Profile_And_Endpoint_Selection/server.cpp b/TAO/tests/RTCORBA/Profile_And_Endpoint_Selection/server.cpp
index c9f7ba2365e..37b0eea457f 100644
--- a/TAO/tests/RTCORBA/Profile_And_Endpoint_Selection/server.cpp
+++ b/TAO/tests/RTCORBA/Profile_And_Endpoint_Selection/server.cpp
@@ -312,10 +312,6 @@ rt_poa (CORBA::ORB_ptr orb,
int
main (int argc, char **argv)
{
- // Make sure we can support multiple priorities that are required
- // for this test.
- check_supported_priorities ();
-
ACE_TRY_NEW_ENV
{
CORBA::ORB_var orb =
@@ -324,6 +320,10 @@ main (int argc, char **argv)
0
ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
+
+ // Make sure we can support multiple priorities that are required
+ // for this test.
+ check_supported_priorities (orb.in());
CORBA::Object_var object =
orb->resolve_initial_references ("RTORB"