diff options
author | Matthew Newhook <matthew@zeroc.com> | 2014-07-10 17:17:55 -0230 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2014-07-10 17:17:55 -0230 |
commit | 9326917abfa8ebd9815e192db2dd57cd8e85179d (patch) | |
tree | 26045ee4f12e9eab55cbeaefb6a3855ac16d6f50 /java/test/Ice/dispatcher/TestI.java | |
parent | Partial fix for ICE-5548: better C++11 detection (diff) | |
download | ice-9326917abfa8ebd9815e192db2dd57cd8e85179d.tar.bz2 ice-9326917abfa8ebd9815e192db2dd57cd8e85179d.tar.xz ice-9326917abfa8ebd9815e192db2dd57cd8e85179d.zip |
ICE-5573 - .NET TimeoutException ignores Dispatcher
- Added test for C++, C# & Java to the dispatcher test
to ensure that the invocation timeout is throwin
in the correct thread.
- Pass the connection to the dispatcher invocation in
more cases.
Diffstat (limited to 'java/test/Ice/dispatcher/TestI.java')
-rw-r--r-- | java/test/Ice/dispatcher/TestI.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/java/test/Ice/dispatcher/TestI.java b/java/test/Ice/dispatcher/TestI.java index 9b2681c1ca7..a3e0e717e88 100644 --- a/java/test/Ice/dispatcher/TestI.java +++ b/java/test/Ice/dispatcher/TestI.java @@ -34,6 +34,18 @@ public class TestI extends _TestIntfDisp } public void + sleep(int to, Ice.Current current) + { + try + { + Thread.currentThread().sleep(to); + } + catch(InterruptedException ex) + { + } + } + + public void opWithPayload(byte[] seq, Ice.Current current) { test(_dispatcher.isDispatcherThread()); |