summaryrefslogtreecommitdiff
path: root/python/test/Ice/operations/BatchOneways.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/test/Ice/operations/BatchOneways.py')
-rw-r--r--python/test/Ice/operations/BatchOneways.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/test/Ice/operations/BatchOneways.py b/python/test/Ice/operations/BatchOneways.py
index ea0fc26c29c..3b17cd89954 100644
--- a/python/test/Ice/operations/BatchOneways.py
+++ b/python/test/Ice/operations/BatchOneways.py
@@ -64,6 +64,9 @@ def batchOneways(p):
batch = Test.MyClassPrx.uncheckedCast(p.ice_batchOneway())
batch.ice_flushBatchRequests() # Empty flush
+ if batch.ice_getConnection():
+ batch.ice_getConnection().flushBatchRequests(Ice.CompressBatch.BasedOnProxy)
+ batch.ice_getCommunicator().flushBatchRequests(Ice.CompressBatch.BasedOnProxy)
p.opByteSOnewayCallCount() # Reset the call count