summaryrefslogtreecommitdiff
path: root/TAO/tests/RTCORBA/Destroy_Thread_Pool/Destroy_Thread_Pool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/RTCORBA/Destroy_Thread_Pool/Destroy_Thread_Pool.cpp')
-rw-r--r--TAO/tests/RTCORBA/Destroy_Thread_Pool/Destroy_Thread_Pool.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/TAO/tests/RTCORBA/Destroy_Thread_Pool/Destroy_Thread_Pool.cpp b/TAO/tests/RTCORBA/Destroy_Thread_Pool/Destroy_Thread_Pool.cpp
index 10fb0be1150..338137917d7 100644
--- a/TAO/tests/RTCORBA/Destroy_Thread_Pool/Destroy_Thread_Pool.cpp
+++ b/TAO/tests/RTCORBA/Destroy_Thread_Pool/Destroy_Thread_Pool.cpp
@@ -3,6 +3,7 @@
#include "ace/Get_Opt.h"
#include "tao/corba.h"
#include "tao/RTCORBA/RTCORBA.h"
+#include "../check_supported_priorities.cpp"
ACE_RCSID(Destroy_Thread_Pools, Destroy_Thread_Pools, "$Id$")
@@ -99,6 +100,10 @@ main (int argc, char *argv[])
""
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"