summaryrefslogtreecommitdiff
path: root/java/test/Ice/operations/Client.java
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2004-02-17 18:23:04 +0000
committerMarc Laukien <marc@zeroc.com>2004-02-17 18:23:04 +0000
commited4330c0f7274190b2eff63bfbfe4925a08fa154 (patch)
treee17a0178d1840e7e282bf6e2875c20878433dfdf /java/test/Ice/operations/Client.java
parentmore AMI and other cleanup (diff)
downloadice-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.java14
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)
{