diff options
Diffstat (limited to 'cpp/test/Ice/operations/BatchOneways.cpp')
-rw-r--r-- | cpp/test/Ice/operations/BatchOneways.cpp | 32 |
1 files changed, 2 insertions, 30 deletions
diff --git a/cpp/test/Ice/operations/BatchOneways.cpp b/cpp/test/Ice/operations/BatchOneways.cpp index d45aeb5c482..0556e8bb722 100644 --- a/cpp/test/Ice/operations/BatchOneways.cpp +++ b/cpp/test/Ice/operations/BatchOneways.cpp @@ -54,7 +54,7 @@ batchOneways(const Test::MyClassPrx& p) int i; - for(i = 0 ; i < 9 ; ++i) + for(i = 0 ; i < 30 ; ++i) { try { @@ -65,35 +65,7 @@ batchOneways(const Test::MyClassPrx& p) { test(false); } - - batch->ice_getConnection()->flushBatchRequests(); } - for(i = 0 ; i < 10 ; ++i) - { - try - { - batch->opByteSOneway(bs1); - test(i < 9); - } - catch(const Ice::MemoryLimitException&) - { - test(i == 9); - } - } - - for(i = 0 ; i < 9 ; ++i) - { - try - { - batch->opByteSOneway(bs1); - test(true); - } - catch(const Ice::MemoryLimitException&) - { - test(false); - } - - batch->ice_getConnection()->flushBatchRequests(); - } + batch->ice_getConnection()->flushBatchRequests(); } |