diff options
Diffstat (limited to 'java/test/Ice/ami/lambda/AMI.java')
-rw-r--r-- | java/test/Ice/ami/lambda/AMI.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/java/test/Ice/ami/lambda/AMI.java b/java/test/Ice/ami/lambda/AMI.java index 0e013b97435..65bd185a849 100644 --- a/java/test/Ice/ami/lambda/AMI.java +++ b/java/test/Ice/ami/lambda/AMI.java @@ -881,6 +881,15 @@ public class AMI test(r.isSent()); test(r.isCompleted()); test(p.waitForBatch(2)); + + final FlushCallback cb2 = new FlushCallback(); + Ice.AsyncResult r2 = b1.ice_getConnection().begin_flushBatchRequests( + null, + (Ice.Exception ex) -> cb2.exception(ex), + (boolean sentSynchronously) -> cb2.sent(sentSynchronously)); + cb2.check(); + test(r2.isSent()); + test(r2.isCompleted()); } { |