3 This is a test for RTCORBA::PriorityBandedConnectionPolicy.
8 This test consists of several mini-tests, each exercising some aspect
9 of PriorityBandedConnectionPolicy:
13 - Attempt to create a POA for which the bands do not match thread
14 lanes. Should get POA::InvalidPolicy exception.
16 - Attempt to register an servant with priority that doesn't match the
17 resources/configuration of that POA, i.e., its bands/lanes. Should
18 get BAD_PARAM exception.
22 - Set RTCORBA::PriorityBandedConnectionPolicy on the object where
23 bands do not match server resources, i.e., threadpool lanes.
24 Attempt an invocation on the object. Should get INV_POLICY
27 - Now attempt one more invocation on the same object (with
28 CLIENT_PROPAGATED and bands), but with the client thread priority
29 not matching any of the bands. Should get INV_POLICY exception.
31 - Set RTCORBA::PriorityBandedConnectionPolicy on the object with
32 CLIENT_PROPAGATED priority model where bands match server resources.
33 Attempt several invocations on the object, changing the priority of
34 the invoking client thread before each. This should succeed.
35 Verify that correct band is being used for each invocation, and that
36 appropriate server threadpool lane is providing the service.
38 - Attempt invocation on an object with SERVER_DECLARED priority model
39 and RTCORBA::PriorityBandedConnectionPolicy set using the client
40 thread with priority not matching any of the object's priority
41 bands. This should succeed. Verify the correct band and server
42 threadpool lane are being used for the invocation.
45 Check run_test.pl to see how to set up a run for this test.