diff options
author | Eike Stepper | 2008-09-02 09:15:42 +0000 |
---|---|---|
committer | Eike Stepper | 2008-09-02 09:15:42 +0000 |
commit | 1bc496df4b3844dcfcdb615570459e50432764b6 (patch) | |
tree | 975ae6af2646a16ed2141d51fe4600a2afdbdad5 /plugins/org.eclipse.emf.cdo.tests.hibernate | |
parent | 1e931948f200a40a3d470a089cef4cf1ff59b325 (diff) | |
download | cdo-1bc496df4b3844dcfcdb615570459e50432764b6.tar.gz cdo-1bc496df4b3844dcfcdb615570459e50432764b6.tar.xz cdo-1bc496df4b3844dcfcdb615570459e50432764b6.zip |
[245794] Provide memory sensitive revision cache
https://bugs.eclipse.org/bugs/show_bug.cgi?id=245794
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests.hibernate')
3 files changed, 12 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/Hibernate AllTests (Standalone).launch b/plugins/org.eclipse.emf.cdo.tests.hibernate/Hibernate AllTests (Standalone).launch index d94be352c4..2976f468df 100644 --- a/plugins/org.eclipse.emf.cdo.tests.hibernate/Hibernate AllTests (Standalone).launch +++ b/plugins/org.eclipse.emf.cdo.tests.hibernate/Hibernate AllTests (Standalone).launch @@ -18,4 +18,6 @@ <stringAttribute key="org.eclipse.jdt.junit.TEST_KIND" value="org.eclipse.jdt.junit.loader.junit3"/> <stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.emf.cdo.tests.hibernate.AllTests"/> <stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.eclipse.emf.cdo.tests.hibernate"/> +<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Xdebug -Xrunjdwp:transport=dt_socket,server=y, suspend=n,address=8787"/> +<stringAttribute key="yk-options" value=" force-jvmti=true disable-counts=true additional-options= snapshots-dir= disable-j2ee=true startup=0 "/> </launchConfiguration> diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/META-INF/MANIFEST.MF b/plugins/org.eclipse.emf.cdo.tests.hibernate/META-INF/MANIFEST.MF index ee9b46e91e..e385fe019d 100644 --- a/plugins/org.eclipse.emf.cdo.tests.hibernate/META-INF/MANIFEST.MF +++ b/plugins/org.eclipse.emf.cdo.tests.hibernate/META-INF/MANIFEST.MF @@ -15,7 +15,8 @@ Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.4.0,4.0.0)", org.eclipse.emf.cdo.server;bundle-version="[2.0.0,3.0.0)", org.eclipse.emf.cdo.server.hibernate;bundle-version="[2.0.0,3.0.0)", org.eclipse.emf.cdo.tests;bundle-version="[2.0.0,3.0.0)", - org.eclipse.emf.cdo.server.hibernate.teneo;bundle-version="[2.0.0,3.0.0)" + org.eclipse.emf.cdo.server.hibernate.teneo;bundle-version="[2.0.0,3.0.0)", + com.springsource.antlr;resolution:=optional Export-Package: mappings;version="2.0.0", org.eclipse.emf.cdo.tests.hibernate;version="2.0.0" Import-Package: org.eclipse.emf.teneo, diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HbTransactionDeadLockTest.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HbTransactionDeadLockTest.java index f96e3d72c4..7eb4af7f77 100644 --- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HbTransactionDeadLockTest.java +++ b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HbTransactionDeadLockTest.java @@ -22,6 +22,14 @@ import java.util.Map; */ public class HbTransactionDeadLockTest extends TransactionDeadLockTest { + public static void main(String[] args) throws Exception + { + HbTransactionDeadLockTest test = new HbTransactionDeadLockTest(); + test.setUp(); + test.testCreateManyTransaction(); + test.tearDown(); + } + public HbTransactionDeadLockTest() { StoreRepositoryProvider.setInstance(HbStoreRepositoryProvider.getInstance()); |