summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Security/ssliop_corbaloc/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/Security/ssliop_corbaloc/client.cpp')
-rw-r--r--TAO/orbsvcs/tests/Security/ssliop_corbaloc/client.cpp16
1 files changed, 15 insertions, 1 deletions
diff --git a/TAO/orbsvcs/tests/Security/ssliop_corbaloc/client.cpp b/TAO/orbsvcs/tests/Security/ssliop_corbaloc/client.cpp
index bf458d40749..d697299e37b 100644
--- a/TAO/orbsvcs/tests/Security/ssliop_corbaloc/client.cpp
+++ b/TAO/orbsvcs/tests/Security/ssliop_corbaloc/client.cpp
@@ -182,7 +182,14 @@ CosNaming_Client::parse_args (void)
int
CosNaming_Client::run (void)
{
- return test_->execute (naming_client_);
+ this->activate();
+ int rv = test_->execute (naming_client_);
+ {
+ CORBA::ORB_var orb = this->orbmgr_.orb();
+ orb->shutdown();
+ }
+ this->wait();
+ return rv;
}
CosNaming_Client::~CosNaming_Client (void)
@@ -1061,6 +1068,13 @@ Persistent_Test_End::execute (TAO_Naming_Client &root_context)
return 0;
}
+int CosNaming_Client::svc()
+{
+ CORBA::ORB_var orb = orbmgr_.orb();
+ orb->run ();
+ return 0;
+}
+
// This function runs the test.
int