1 Regression test for multi-threaded server concurrent MIOP message processing.
3 (MIOP messages were being serialised by using a single server worker thread from any pool set-up, this test checks that multiple threads can concurrently process MIOP messages that are received.)
5 This test relies on the client being able to send all of it's MIOP messages AND the server receiving all of them (which with MIOP is not actually guarrenteed). Each thread from the servers thread pool is tied up "processing" one of the messages via a barrier, so that all threads of the server thread pool end up working at the same time. Once all threads have received a message, the server shutsdown. The server will not shutdown (and thus the test will timeout and fail) if all of the threads don't process messages concurrently.
7 Expected successful output is below.
11 MIOP object is <IOR:010000000100000000000000010000000300000040000000010100000d0000003232352e31302e31302e313000008c3801000000270000001c0000000101000007000000646f6d61696e0000010000000000000000000000>
12 Starting 2 thread, thread pool
13 args to be used: -k 'file:///home/tao/sma/ACE_wrappers/TAO/orbsvcs/tests/Bug_4080_Regression/server.ior' -t 2
15 Server 3086908336 received a message
17 Server 3076418480 received a message
18 Server 3076418480 Shutting down
21 Server finished successfully.
24 Client finished successfully