diff options
Diffstat (limited to 'TAO/performance-tests/Cubit/TAO/IDL_Cubit/collocation_test.cpp')
-rw-r--r-- | TAO/performance-tests/Cubit/TAO/IDL_Cubit/collocation_test.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/collocation_test.cpp b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/collocation_test.cpp index 419494e753c..576229cfc49 100644 --- a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/collocation_test.cpp +++ b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/collocation_test.cpp @@ -15,15 +15,11 @@ svr_worker (void *arg) { Cubit_Server cubit_server; ACE_Barrier *barrier = (ACE_Barrier *) arg; - char *fake[] = {"server", "-o", THE_IOR_FILE};//, "-ORBcollocationstrategy", "direct" }; + char *fake[] = {"server", "-o", THE_IOR_FILE }; ACE_TRY_NEW_ENV { - if (cubit_server.init (3, - ACE_const_cast (char **, - fake), - ACE_TRY_ENV) - == -1) + if (cubit_server.init (3, fake, ACE_TRY_ENV) == -1) return (void *) 1; else { @@ -75,6 +71,7 @@ main (int argc, char **argv) barrier.wait (); ACE_OS::sleep (1); + { Cubit_Client cubit_client (test_collocation, 1); // We want to test collocation, so create // cubit_client with parameter 1 set. Make sure @@ -84,6 +81,7 @@ main (int argc, char **argv) return 1; else retv = cubit_client.run (); + } ACE_THREAD_MANAGER->wait (); return retv; |