diff options
author | Marc Laukien <marc@zeroc.com> | 2004-02-17 18:23:04 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2004-02-17 18:23:04 +0000 |
commit | ed4330c0f7274190b2eff63bfbfe4925a08fa154 (patch) | |
tree | e17a0178d1840e7e282bf6e2875c20878433dfdf /java/test/Ice/operations/Client.java | |
parent | more AMI and other cleanup (diff) | |
download | ice-ed4330c0f7274190b2eff63bfbfe4925a08fa154.tar.bz2 ice-ed4330c0f7274190b2eff63bfbfe4925a08fa154.tar.xz ice-ed4330c0f7274190b2eff63bfbfe4925a08fa154.zip |
fix
Diffstat (limited to 'java/test/Ice/operations/Client.java')
-rw-r--r-- | java/test/Ice/operations/Client.java | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/java/test/Ice/operations/Client.java b/java/test/Ice/operations/Client.java index 2afe9118fe6..53ffb0637d6 100644 --- a/java/test/Ice/operations/Client.java +++ b/java/test/Ice/operations/Client.java @@ -43,12 +43,18 @@ public class Client try { - Ice.Properties properties = Ice.Util.getDefaultProperties(); - properties.setProperty("Ice.ThreadPool.Client.Size", "2"); // For nested AMI. + Ice.StringSeqHolder argsH = new Ice.StringSeqHolder(args); + Ice.Properties properties = Ice.Util.getDefaultProperties(argsH); + + // + // In this test, we need at least two threads in the + // client side thread pool for nested AMI. + // + properties.setProperty("Ice.ThreadPool.Client.Size", "2"); properties.setProperty("Ice.ThreadPool.Client.SizeWarn", "0"); - communicator = Ice.Util.initialize(args); - status = run(args, communicator); + communicator = Ice.Util.initialize(argsH); + status = run(argsH.value, communicator); } catch(Ice.LocalException ex) { |