summaryrefslogtreecommitdiff
path: root/TAO/tests/RTCORBA/Thread_Pool/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/RTCORBA/Thread_Pool/client.cpp')
-rw-r--r--TAO/tests/RTCORBA/Thread_Pool/client.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/TAO/tests/RTCORBA/Thread_Pool/client.cpp b/TAO/tests/RTCORBA/Thread_Pool/client.cpp
index fc0f2a36a7e..9921524a61a 100644
--- a/TAO/tests/RTCORBA/Thread_Pool/client.cpp
+++ b/TAO/tests/RTCORBA/Thread_Pool/client.cpp
@@ -1,12 +1,13 @@
// $Id$
#include "ace/Get_Opt.h"
-#include "tao/RTCORBA/RTCORBA.h"
#include "testC.h"
+#include "tao/RTCORBA/RTCORBA.h"
+#include "../check_supported_priorities.cpp"
-ACE_RCSID(Thread_Pools, client, "$Id$")
+ACE_RCSID(Thread_Pool, client, "$Id$")
-const char *ior = "file://ior";
+const char *ior = "file://ior_1";
int iterations = 6;
int shutdown_server = 0;
@@ -50,6 +51,10 @@ parse_args (int argc, char *argv[])
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 =