summaryrefslogtreecommitdiff
path: root/java/test/Ice/exceptions/Collocated.java
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2014-06-27 10:31:41 +0200
committerBenoit Foucher <benoit@zeroc.com>2014-06-27 10:31:41 +0200
commita4f93259dc3494d98addf38e69b87eb557d432b3 (patch)
treed2b78bb5cea24e33dc1b46be22dba6167e96c9ed /java/test/Ice/exceptions/Collocated.java
parentFix for ICE-5515 (ice_staticId on proxies) in Java, C#, Python, Ruby and PHP ... (diff)
downloadice-a4f93259dc3494d98addf38e69b87eb557d432b3.tar.bz2
ice-a4f93259dc3494d98addf38e69b87eb557d432b3.tar.xz
ice-a4f93259dc3494d98addf38e69b87eb557d432b3.zip
Better collocation optimization, fix for ICE-5489, ICE-5484
Diffstat (limited to 'java/test/Ice/exceptions/Collocated.java')
-rw-r--r--java/test/Ice/exceptions/Collocated.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/java/test/Ice/exceptions/Collocated.java b/java/test/Ice/exceptions/Collocated.java
index e825cc19eaf..05ddb1c1be1 100644
--- a/java/test/Ice/exceptions/Collocated.java
+++ b/java/test/Ice/exceptions/Collocated.java
@@ -19,7 +19,7 @@ public class Collocated extends test.Util.Application
Ice.Object object = new ThrowerI();
adapter.add(object, communicator.stringToIdentity("thrower"));
- AllTests.allTests(communicator, true, getWriter());
+ AllTests.allTests(communicator, getWriter());
return 0;
}
@@ -27,8 +27,10 @@ public class Collocated extends test.Util.Application
protected Ice.InitializationData getInitData(Ice.StringSeqHolder argsH)
{
Ice.InitializationData initData = new Ice.InitializationData();
+ initData.logger = new DummyLogger();
initData.properties = Ice.Util.createProperties(argsH);
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;
}