diff options
Diffstat (limited to 'cppe/test/IceE/faultTolerance/AllTests.cpp')
-rw-r--r-- | cppe/test/IceE/faultTolerance/AllTests.cpp | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/cppe/test/IceE/faultTolerance/AllTests.cpp b/cppe/test/IceE/faultTolerance/AllTests.cpp index ecb84a5e1e1..eb2b4e61db0 100644 --- a/cppe/test/IceE/faultTolerance/AllTests.cpp +++ b/cppe/test/IceE/faultTolerance/AllTests.cpp @@ -116,7 +116,7 @@ allTests(const Ice::CommunicatorPtr& communicator, const vector<int>& ports) tprintf("ok\n"); } } - else if(j == 2) + else if(j == 2 || j == 3) { tprintf("aborting server #%d and #%d with idempotent call...", i, i + 1); try @@ -135,25 +135,6 @@ allTests(const Ice::CommunicatorPtr& communicator, const vector<int>& ports) ++i; } - else if(j == 3) - { - tprintf("aborting server #%d and #%d with nonmutating call...", i, i + 1); - try - { - obj->nonmutatingAbort(); - test(false); - } - catch(const Ice::ConnectionLostException&) - { - tprintf("ok\n"); - } - catch(const Ice::ConnectFailedException&) - { - tprintf("ok\n"); - } - - ++i; - } else { assert(false); |