Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/AbstractCDOTest.java')
-rw-r--r--plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/AbstractCDOTest.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/AbstractCDOTest.java b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/AbstractCDOTest.java
index db66544cd4..5415ec1505 100644
--- a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/AbstractCDOTest.java
+++ b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/AbstractCDOTest.java
@@ -27,6 +27,8 @@ import org.eclipse.emf.internal.cdo.util.FSMUtil;
import org.eclipse.net4j.tests.AbstractTransportTest;
import org.eclipse.net4j.util.container.IManagedContainer;
+import java.util.HashMap;
+import java.util.Map;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.locks.Condition;
import java.util.concurrent.locks.Lock;
@@ -50,9 +52,15 @@ public abstract class AbstractCDOTest extends AbstractTransportTest
protected Repository createRepository()
{
+ Map<String, String> props = new HashMap<String, String>();
+ // props.put(RevisionManager.PROP_CURRENT_LRU_CAPACITY, "20");
+ // props.put(RevisionManager.PROP_REVISED_LRU_CAPACITY, "20");
+
IStore store = createStore();
+
Repository repository = new Repository();
repository.setName(REPOSITORY_NAME);
+ repository.setProperties(props);
repository.setStore(store);
store.setRepository(repository);

Back to the top