5 @page Bug 4010 Regression Test
7 This test demonstrates bug 4010.
9 The IDL and server code are unchanged from the basic Hello test.
11 The client is modified to perform the Hello test periodically for
12 different instances of the server.
14 The server is run twice to demonstrate the client's attempt to reuse a stale
15 connection from the first instance to contact an object reference from the second.
16 The endpoint is assigned for the server to demonstrate the COMM_FAILURE exception on
20 To run the test use the run_test.pl script:
24 the script returns 0 if the test was successful.
26 The expected output would look something like this -
28 (7715|3072272080) - string returned <Hello there!>
29 (7714|3070171360) server - event loop finished
30 (7715|3072272080) - shutdown requested
31 (7715|3072272080) - string returned <Hello there!>
32 (7715|3072272080) - shutdown requested
33 (7716|3071477984) server - event loop finished
35 With the bug, the output looks like this -
36 (7731|3072239312) - string returned <Hello there!>
37 (7724|3072022752) server - event loop finished
38 (7731|3072239312) - shutdown requested
39 (7731|3072239312) EXCEPTION, Exception caught:
40 system exception, ID 'IDL:omg.org/CORBA/COMM_FAILURE:1.0'
41 TAO exception, minor code = 0 (failed to recv request response; unspecified errno), completed = MAYBE