diff options
Diffstat (limited to 'ACE/TAO/orbsvcs/tests/Bug_2247_Regression/README')
-rw-r--r-- | ACE/TAO/orbsvcs/tests/Bug_2247_Regression/README | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/ACE/TAO/orbsvcs/tests/Bug_2247_Regression/README b/ACE/TAO/orbsvcs/tests/Bug_2247_Regression/README new file mode 100644 index 00000000000..b2cda70e18d --- /dev/null +++ b/ACE/TAO/orbsvcs/tests/Bug_2247_Regression/README @@ -0,0 +1,31 @@ +// $Id$ + +This program tests the behavior of FT aware client when there +is a fault in the server. + +First, you can test the behavior of client when it works with +a simple single profile IOR (not IOGR). + +To test server crashing down (aborting) in the middle of the RPC: +$./server -o file1.ior -k KEY1 +$./Manager -a file://file1.ior -k KEY1 -c g.ior + +To test server gracefully shutting down in the middle of the RPC: +$./server -o file1.ior -k KEY1 +$./Manager -a file://file1.ior -k KEY1 -c g.ior -s + +You can also test behavior of client when using IOGR with two servers +by supplying -g as the option to Manager. + +To test servers crashing down (aborting) in the middle of the RPC: +$./server -o file1.ior -k KEY1 +$./server -o file2.ior -k KEY2 +$./Manager -a file://file1.ior -k KEY1 -b file://file2.ior -l KEY2 -c g.ior -g + +To test one of two serversshutting down in the middle of the RPC: +$./server -o file1.ior -k KEY1 +$./server -o file2.ior -k KEY2 +$./Manager -a file://file1.ior -k KEY1 -b file://file2.ior -l KEY2 -c g.ior -g -s + +The complete test can be run by run_test.pl. +The script exits with error code != 0 in case of error. |