summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2017-06-08 14:54:10 +0200
committerBenoit Foucher <benoit@zeroc.com>2017-06-08 14:54:10 +0200
commit8696670b40a7c46fad9e0a0ad05e92e0d6437e09 (patch)
treefc7ffcca2d61622857dbd56de0fddc621da30412 /js
parentFixed ICE-7994 - invocation metrics issue with AMI batch oneway requests (diff)
downloadice-8696670b40a7c46fad9e0a0ad05e92e0d6437e09.tar.bz2
ice-8696670b40a7c46fad9e0a0ad05e92e0d6437e09.tar.xz
ice-8696670b40a7c46fad9e0a0ad05e92e0d6437e09.zip
Added JS & Objective-C tests for AMI batch invocations
Diffstat (limited to 'js')
-rw-r--r--js/test/Ice/ami/Client.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/test/Ice/ami/Client.js b/js/test/Ice/ami/Client.js
index 6bae556a65c..5f3a2decfb7 100644
--- a/js/test/Ice/ami/Client.js
+++ b/js/test/Ice/ami/Client.js
@@ -71,7 +71,9 @@
{
test(count === 0);
b1 = p.ice_batchOneway();
- test(b1.opBatch());
+ bf = b1.opBatch();
+ test(bf.isCompleted());
+ test(!bf.isSent());
test(b1.opBatch());
return b1.ice_flushBatchRequests();
}