diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2014-10-01 11:04:16 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2014-10-01 11:04:16 -0230 |
commit | 2836703a385239414b90461566c2126d5a0506b8 (patch) | |
tree | a4110ad2379f01e1ea4cae40e38f4f1308facba8 /java/test/Ice/exceptions/Collocated.java | |
parent | Added missing ConnectionI::setCallback fix to JS (diff) | |
download | ice-2836703a385239414b90461566c2126d5a0506b8.tar.bz2 ice-2836703a385239414b90461566c2126d5a0506b8.tar.xz ice-2836703a385239414b90461566c2126d5a0506b8.zip |
ICE-5656 java test/Ice/exception eats all error messages
Diffstat (limited to 'java/test/Ice/exceptions/Collocated.java')
-rw-r--r-- | java/test/Ice/exceptions/Collocated.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/java/test/Ice/exceptions/Collocated.java b/java/test/Ice/exceptions/Collocated.java index 004f5a67e15..b85ca002b94 100644 --- a/java/test/Ice/exceptions/Collocated.java +++ b/java/test/Ice/exceptions/Collocated.java @@ -29,11 +29,18 @@ public class Collocated extends test.Util.Application protected Ice.InitializationData getInitData(Ice.StringSeqHolder argsH) { Ice.InitializationData initData = new Ice.InitializationData(); + // + // For this test, we need a dummy logger, otherwise the + // assertion test will print an error message. + // initData.logger = new DummyLogger(); + initData.properties = Ice.Util.createProperties(argsH); + initData.properties.setProperty("Ice.Warn.Dispatch", "0"); initData.properties.setProperty("Ice.Package.Test", "test.Ice.exceptions"); initData.properties.setProperty("Ice.MessageSizeMax", "10"); // 10KB max initData.properties.setProperty("TestAdapter.Endpoints", "default -p 12010"); + return initData; } |