Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2018-04-24 10:33:45 -0400
committerEike Stepper2018-04-24 10:33:45 -0400
commitcdd0658a95a41d9adb12fe218451f57eec100b75 (patch)
treecbe078bd562bbe4140d722f514d73460eab5db00 /plugins/org.eclipse.emf.cdo.tests/src
parentdae004cdde935190ffcf04cda8ad3db88fd04d1b (diff)
downloadcdo-cdd0658a95a41d9adb12fe218451f57eec100b75.tar.gz
cdo-cdd0658a95a41d9adb12fe218451f57eec100b75.tar.xz
cdo-cdd0658a95a41d9adb12fe218451f57eec100b75.zip
[533989] Give IManagedContainers a name
https://bugs.eclipse.org/bugs/show_bug.cgi?id=533989
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests/src')
-rw-r--r--plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/config/impl/RepositoryConfig.java2
-rw-r--r--plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/config/impl/SessionConfig.java2
2 files changed, 4 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/config/impl/RepositoryConfig.java b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/config/impl/RepositoryConfig.java
index e3330a8d85..ed7f7b2daa 100644
--- a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/config/impl/RepositoryConfig.java
+++ b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/config/impl/RepositoryConfig.java
@@ -338,6 +338,8 @@ public abstract class RepositoryConfig extends Config implements IRepositoryConf
protected IManagedContainer createServerContainer()
{
IManagedContainer container = ContainerUtil.createContainer();
+ container.setName("server");
+
Net4jUtil.prepareContainer(container);
CDONet4jServerUtil.prepareContainer(container);
diff --git a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/config/impl/SessionConfig.java b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/config/impl/SessionConfig.java
index be01b4d04f..2da48ab8c4 100644
--- a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/config/impl/SessionConfig.java
+++ b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/config/impl/SessionConfig.java
@@ -128,6 +128,8 @@ public abstract class SessionConfig extends Config implements ISessionConfig
protected IManagedContainer createClientContainer()
{
IManagedContainer container = ContainerUtil.createContainer();
+ container.setName("client");
+
Net4jUtil.prepareContainer(container);
container.registerFactory(new ExecutorServiceFactory()

Back to the top