diff options
author | Benoit Foucher <benoit@zeroc.com> | 2017-06-08 11:45:13 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2017-06-08 11:45:13 +0200 |
commit | 60effe77cfe0bfebc4cae2457ec1fe7463267b2c (patch) | |
tree | afbef2b5bd3192a2f83e8f40bf98a56369da6e65 /python/test | |
parent | Fixed Util.py to account for new android location (diff) | |
download | ice-60effe77cfe0bfebc4cae2457ec1fe7463267b2c.tar.bz2 ice-60effe77cfe0bfebc4cae2457ec1fe7463267b2c.tar.xz ice-60effe77cfe0bfebc4cae2457ec1fe7463267b2c.zip |
Fixed ICE-7974 - Python AMI batch oneway requests now return a completed future object
Diffstat (limited to 'python/test')
-rw-r--r-- | python/test/Ice/operations/BatchOnewaysFuture.py | 5 |
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"; |