summaryrefslogtreecommitdiff
path: root/python/test/Ice/operations/BatchOnewaysFuture.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/test/Ice/operations/BatchOnewaysFuture.py')
-rw-r--r--python/test/Ice/operations/BatchOnewaysFuture.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/python/test/Ice/operations/BatchOnewaysFuture.py b/python/test/Ice/operations/BatchOnewaysFuture.py
index ebb05f76d41..dee7456f7eb 100644
--- a/python/test/Ice/operations/BatchOnewaysFuture.py
+++ b/python/test/Ice/operations/BatchOnewaysFuture.py
@@ -70,10 +70,11 @@ def batchOneways(p):
batch1.ice_getConnection()
batch2.ice_getConnection()
+ batch1.ice_pingAsync()
batch1.ice_getConnection().close(Ice.ConnectionClose.GracefullyWithWait)
- test(not batch1.ice_pingAsync().done())
- test(not batch2.ice_pingAsync().done())
+ test(batch1.ice_pingAsync().done() and not batch1.ice_pingAsync().exception())
+ test(batch2.ice_pingAsync().done() and not batch1.ice_pingAsync().exception())
identity = Ice.Identity()
identity.name = "invalid";