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/faultTolerance/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/faultTolerance/Client.java')
-rw-r--r-- | java/test/Ice/faultTolerance/Client.java | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/java/test/Ice/faultTolerance/Client.java b/java/test/Ice/faultTolerance/Client.java index bfa08039476..434d3ed441b 100644 --- a/java/test/Ice/faultTolerance/Client.java +++ b/java/test/Ice/faultTolerance/Client.java @@ -75,8 +75,16 @@ public class Client try { - communicator = Ice.Util.initialize(args); - status = run(args, communicator); + Ice.StringSeqHolder argsH = new Ice.StringSeqHolder(args); + Ice.Properties properties = Ice.Util.getDefaultProperties(argsH); + + // + // This test aborts servers, so we don't want warnings. + // + properties.setProperty("Ice.Warn.Connections", "0"); + + communicator = Ice.Util.initialize(argsH); + status = run(argsH.value, communicator); } catch(Ice.LocalException ex) { |